mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 18:52:46 +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/
|
||||
if [ -f ~/.local/firefox/firefox ]; then
|
||||
~/.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
|
||||
elif [ -f /usr/bin/firefox ]; then
|
||||
/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
|
||||
else
|
||||
flatpak run org.mozilla.firefox $FlagsForFirefox
|
||||
|
Loading…
Reference in New Issue
Block a user