From 2580172f7ef8a4870311caf37e9a5e808b57f1fd Mon Sep 17 00:00:00 2001 From: steveokard Date: Fri, 3 Jun 2022 15:16:42 -0400 Subject: [PATCH] functionalized --- firefox.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firefox.sh b/firefox.sh index be995a3..3acce23 100755 --- a/firefox.sh +++ b/firefox.sh @@ -3,6 +3,7 @@ add_ppa() { sudo add-apt-repository ppa:mozillateam/ppa sudo apt update sudo apt remove firefox + echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox } #process flags @@ -13,7 +14,6 @@ while getopts 'efrp:h' opt; do add_ppa sudo snap remove firefox sudo apt install firefox-esr - echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox ;; f) @@ -34,7 +34,6 @@ while getopts 'efrp:h' opt; do Pin: release o=LP-PPA-mozillateam Pin-Priority: 1001 ' | sudo tee /etc/apt/preferences.d/mozilla-firefox - echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox ;; p)