Files
tubestation/browser/installer/linux/app/debian/firefox.sh
Julien Cristau 9c019f7e7a Bug 1916517 - add /usr/bin/firefox to the firefox-esr deb package r=glandium
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
2024-09-20 08:38:12 +00:00

7 lines
118 B
Bash

#!/bin/sh
FIREFOX="$(command -v firefox)"
[ -x "$FIREFOX.real" ] && exec "$FIREFOX.real" "$@"
exec firefox-esr "$@"