Debian's firefox-esr package adds its own /usr/bin/firefox and diverts it away, so we either need to do the same or clean up the diversion in our postinst, otherwise /usr/bin/firefox goes permanently missing when upgrading from Debian to Mozilla's firefox-esr package. Differential Revision: https://phabricator.services.mozilla.com/D222752
7 lines
118 B
Bash
7 lines
118 B
Bash
#!/bin/sh
|
|
|
|
FIREFOX="$(command -v firefox)"
|
|
[ -x "$FIREFOX.real" ] && exec "$FIREFOX.real" "$@"
|
|
|
|
exec firefox-esr "$@"
|