From bc885f162cff85972b09de0c75f1efc7dfb6d81b Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 15 Aug 2021 21:40:46 -0500 Subject: [PATCH] Pale Moon: use pkg-install --- apps/Pale Moon Browser/install-32 | 4 ++-- apps/Pale Moon Browser/install-64 | 4 ++-- apps/Pale Moon Browser/uninstall | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/Pale Moon Browser/install-32 b/apps/Pale Moon Browser/install-32 index d6f601c..025e221 100755 --- a/apps/Pale Moon Browser/install-32 +++ b/apps/Pale Moon Browser/install-32 @@ -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!" diff --git a/apps/Pale Moon Browser/install-64 b/apps/Pale Moon Browser/install-64 index 2084d4a..0b6ac8d 100755 --- a/apps/Pale Moon Browser/install-64 +++ b/apps/Pale Moon Browser/install-64 @@ -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!" diff --git a/apps/Pale Moon Browser/uninstall b/apps/Pale Moon Browser/uninstall index 5a572f3..4a28fdb 100755 --- a/apps/Pale Moon Browser/uninstall +++ b/apps/Pale Moon Browser/uninstall @@ -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!"