From 794eca0a37009445643aa0194f06d6ad1cfd68f3 Mon Sep 17 00:00:00 2001 From: serxoz Date: Fri, 8 Nov 2024 11:53:04 +0100 Subject: [PATCH] =?UTF-8?q?identaci=C3=B3s=20e=20comentarios?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- set_firefox_config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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