functionalized
This commit is contained in:
parent
36f0aa361e
commit
2580172f7e
1 changed files with 1 additions and 2 deletions
|
@ -3,6 +3,7 @@ add_ppa() {
|
||||||
sudo add-apt-repository ppa:mozillateam/ppa
|
sudo add-apt-repository ppa:mozillateam/ppa
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt remove firefox
|
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
|
#process flags
|
||||||
|
@ -13,7 +14,6 @@ while getopts 'efrp:h' opt; do
|
||||||
add_ppa
|
add_ppa
|
||||||
sudo snap remove firefox
|
sudo snap remove firefox
|
||||||
sudo apt install firefox-esr
|
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)
|
f)
|
||||||
|
@ -34,7 +34,6 @@ while getopts 'efrp:h' opt; do
|
||||||
Pin: release o=LP-PPA-mozillateam
|
Pin: release o=LP-PPA-mozillateam
|
||||||
Pin-Priority: 1001
|
Pin-Priority: 1001
|
||||||
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
|
' | 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)
|
p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue