mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-03 16:52:31 +01:00
bash/usr-local-bin/firefox: fallback to firefox-esr instead of deprecated firefox-wayland (which was also deprecated by this wrapper)
This commit is contained in:
parent
d0e81f0901
commit
84616ff2a6
@ -13,12 +13,12 @@ FlagsForFirefox="--ProfileManager $@"
|
|||||||
# Developer edition (and signatures): https://releases.mozilla.org/pub/devedition/releases/
|
# Developer edition (and signatures): https://releases.mozilla.org/pub/devedition/releases/
|
||||||
if [ -f ~/.local/firefox/firefox ]; then
|
if [ -f ~/.local/firefox/firefox ]; then
|
||||||
~/.local/firefox/firefox $FlagsForFirefox
|
~/.local/firefox/firefox $FlagsForFirefox
|
||||||
# Fallback to global wayland installation
|
|
||||||
elif [ -f /usr/bin/firefox-wayland ]; then
|
|
||||||
/usr/bin/firefox-wayland $FlagsForFirefox
|
|
||||||
# Fallback to global installation
|
# Fallback to global installation
|
||||||
elif [ -f /usr/bin/firefox ]; then
|
elif [ -f /usr/bin/firefox ]; then
|
||||||
/usr/bin/firefox $FlagsForFirefox
|
/usr/bin/firefox $FlagsForFirefox
|
||||||
|
# Fallback to global installation
|
||||||
|
elif [ -f /usr/bin/firefox-esr ]; then
|
||||||
|
/usr/bin/firefox-esr $FlagsForFirefox
|
||||||
# Fallback to flatpak, don't care if it doesn't exist
|
# Fallback to flatpak, don't care if it doesn't exist
|
||||||
else
|
else
|
||||||
flatpak run org.mozilla.firefox $FlagsForFirefox
|
flatpak run org.mozilla.firefox $FlagsForFirefox
|
||||||
|
Loading…
Reference in New Issue
Block a user