From 84616ff2a60eebec8a980c2e91796bd82d60bee2 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 13 May 2024 18:54:57 +0300 Subject: [PATCH] bash/usr-local-bin/firefox: fallback to firefox-esr instead of deprecated firefox-wayland (which was also deprecated by this wrapper) --- bash/usr-local-bin/firefox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash/usr-local-bin/firefox b/bash/usr-local-bin/firefox index 80df122..a542f23 100755 --- a/bash/usr-local-bin/firefox +++ b/bash/usr-local-bin/firefox @@ -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