Pale Moon: use pkg-install

pull/910/head
Botspot 4 years ago
parent 1965ee382b
commit bc885f162c

@ -9,5 +9,5 @@ function error {
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/Raspbian_10/ /' | sudo tee /etc/apt/sources.list.d/home:stevenpusser.list >/dev/null
curl -fsSL https://download.opensuse.org/repositories/home:stevenpusser/Raspbian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_stevenpusser.gpg >/dev/null
sudo apt update || error "Failed to run 'sudo apt update'!"
sudo apt install palemoon -y || error "Failed to install the palemoon package!"
"${DIRECTORY}/pkg-install" "palemoon" "$(dirname "$0")" || error "Failed to install the palemoon package!"

@ -9,5 +9,5 @@ function error {
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/home:stevenpusser.list >/dev/null
curl -fsSL https://download.opensuse.org/repositories/home:stevenpusser/Debian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_stevenpusser.gpg >/dev/null
sudo apt update || error "Failed to run 'sudo apt update'!"
sudo apt install palemoon -y || error "Failed to install the palemoon package!"
"${DIRECTORY}/pkg-install" "palemoon" "$(dirname "$0")" || error "Failed to install the palemoon package!"

@ -7,4 +7,4 @@ function error {
exit 1
}
sudo apt purge palemoon -y || error "apt failed to uninstall palemoon!"
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || error "apt failed to uninstall palemoon!"

Loading…
Cancel
Save