FreeTube: use pkg-install

pull/931/head
Botspot 4 years ago
parent abd01102a0
commit 7d6dc341b5

@ -9,10 +9,10 @@ function error {
#Downloading Deb File For FreeTube
rm -f ~/freetube.deb
wget https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_armhf.deb -O ~/freetube.deb || error "Failed to download freetube.deb!"
wget -O ~/freetube.deb https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_armhf.deb || error "Failed to download freetube.deb!"
#Installing FreeTube
sudo apt install -y --fix-missing ~/freetube.deb || error "APT failed to install freetube.deb!"
"${DIRECTORY}/pkg-install" "$HOME/freetube.deb" "$(dirname "$0")" || error "APT failed to install freetube.deb!"
#Removing Deb File
rm -f ~/freetube.deb

@ -9,10 +9,10 @@ function error {
#Downloading Deb File For FreeTube
rm -f ~/freetube.deb
wget https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_arm64.deb -O ~/freetube.deb || error "Failed to download freetube.deb!"
wget -O ~/freetube.deb https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_arm64.deb || error "Failed to download freetube.deb!"
#Installing FreeTube
sudo apt install -y --fix-missing ~/freetube.deb || error "APT failed to install freetube.deb!"
"${DIRECTORY}/pkg-install" "$HOME/freetube.deb" "$(dirname "$0")" || error "APT failed to install freetube.deb!"
#Removing Deb File
rm -f ~/freetube.deb

@ -7,7 +7,5 @@ function error {
exit 1
}
#Uninstalling FreeTube
sudo apt -y purge freetube || error "Failed to uninstall lightpad"
sudo apt -y autoremove
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1

Loading…
Cancel
Save