Min browser: use pkg-install

pull/942/head
Botspot 4 years ago
parent bf8b2ca5ee
commit 264bac0aa9

@ -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

@ -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

@ -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!"

Loading…
Cancel
Save