diff --git a/set_firefox_config.sh b/set_firefox_config.sh index 8579138..e962e91 100755 --- a/set_firefox_config.sh +++ b/set_firefox_config.sh @@ -10,14 +10,14 @@ echo "" # Asegurarse de que existe Firefox en apt e non en snap apt_firefox () { - # existe snap? if snp=$(which snap); then $snp list firefox if [ $? -eq 0 ]; then - $snp remove --purge firefox + # probablemente estamos en Ubuntu, quitase do snap + $snp remove --purge firefox - # estamos en ubuntu, agregase repo de mozilla + # agregase repo de mozilla add-apt-repository -y ppa:mozillateam/ppa if [ ! -f /etc/apt/preferences.d/mozilla-firefox ]; then