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)