diff --git a/apps/Min Browser/install-32 b/apps/Min Browser/install-32 index 58364ac..fa3f2d2 100755 --- a/apps/Min Browser/install-32 +++ b/apps/Min Browser/install-32 @@ -8,6 +8,9 @@ function error { } version='1.21.0' -wget https://github.com/chunky-milk/minbrowser-arm-builds/releases/download/${version}/min_${version}_armhf.deb || error "Failed to download Min deb file!" -sudo apt install -yf ./min_${version}_armhf.deb || error "Failed to install min deb file!" -rm -f ./min_${version}_armhf.deb +rm -f ~/min.deb +wget -O ~/min.deb https://github.com/chunky-milk/minbrowser-arm-builds/releases/download/${version}/min_${version}_armhf.deb || error "Failed to download Min deb file!" + +"${DIRECTORY}/pkg-install" "$HOME/min.deb" "$(dirname "$0")" || error "Failed to install min deb file!" +rm -f version='1.21.0' +rm -f ~/min.deb diff --git a/apps/Min Browser/install-64 b/apps/Min Browser/install-64 index 4691c39..1e11af5 100755 --- a/apps/Min Browser/install-64 +++ b/apps/Min Browser/install-64 @@ -8,6 +8,9 @@ function error { } version='1.21.0' -wget https://github.com/chunky-milk/minbrowser-arm-builds/releases/download/${version}/min_${version}_arm64.deb || error "Failed to download Min deb file!" -sudo apt install -yf ./min_${version}_arm64.deb || error "Failed to install min deb file!" -rm -f ./min_${version}_arm64.deb +rm -f ~/min.deb +wget -O ~/min.deb https://github.com/chunky-milk/minbrowser-arm-builds/releases/download/${version}/min_${version}_arm64.deb || error "Failed to download Min deb file!" + +"${DIRECTORY}/pkg-install" "$HOME/min.deb" "$(dirname "$0")" || error "Failed to install min deb file!" +rm -f version='1.21.0' +rm -f ~/min.deb diff --git a/apps/Min Browser/uninstall b/apps/Min Browser/uninstall index 4eaf3f3..494d749 100755 --- a/apps/Min Browser/uninstall +++ b/apps/Min Browser/uninstall @@ -7,4 +7,4 @@ function error { exit 1 } -sudo apt purge min -y || error "failed to remove min package from system!" +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || error "failed to remove min package from system!"