You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
540 B
Bash
19 lines
540 B
Bash
#!/bin/bash
|
|
|
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
|
|
|
function error {
|
|
echo -e "\\e[91m$1\\e[39m"
|
|
exit 1
|
|
}
|
|
|
|
#Downloading Deb File For FreeTube
|
|
rm -f ~/freetube.deb
|
|
wget https://github.com/FreeTubeApp/FreeTube/releases/download/v0.11.3-beta/freetube_0.11.3_arm64.deb -O ~/freetube.deb || error "Failed to download freetube.deb!"
|
|
|
|
#Installing FreeTube
|
|
sudo apt install -y --fix-missing ~/freetube.deb || error "APT failed to install freetube.deb!"
|
|
|
|
#Removing Deb File
|
|
rm -f ~/freetube.deb
|