firefox RR: make errors non-fatal

pull/931/head
Botspot 4 years ago
parent 17a7d788ca
commit a20edc1038

@ -7,8 +7,8 @@ function error {
exit 1
}
sudo apt purge firefox -y || error "Failed to uninstall firefox!"
sudo rm /etc/apt/preferences.d/99bionic-updates || error "Failed to delete /etc/apt/preferences.d/99bionic-updates"
sudo rm /etc/apt/sources.list.d/firefox-ubuntu.list || error "Failed to delete the repository!"
sudo apt purge firefox -y
sudo rm -f /etc/apt/preferences.d/99bionic-updates
sudo rm -f /etc/apt/sources.list.d/firefox-ubuntu.list
sudo apt-key del "3B4FE6ACC0B21F32" || error "Failed to delete the key!"

Loading…
Cancel
Save