teamviewer host many fixes. botspot-ifyed

pull/281/head
Botspot 4 years ago
parent 774259472b
commit e13c77dd00

@ -1,21 +1,17 @@
#!/bin/bash #!/bin/bash
# Download teamviewer installation file # DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb
# Install it with dpkg #
sudo dpkg -i teamviewer-host_armhf.deb
# Install it's dependencies # function error {
sudo apt --fix-broken install -y echo -e "\\e[91m$1\\e[39m"
exit 1
}
# Delete teamviewer installation file # # Download teamviewer installation file #
rm teamviewer-host_armhf.deb wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb || error "Failed to download teamviewer-host_armhf.deb"
# Credit #
echo This is the teamviewer installer made by Benmac83#3821! \(Discord\) # Install it with dpkg
echo The packages and everything that this script downloads is NOT made by me and all credit for the package that is downloaded should go to Teamviewer! \(https://www.teamviewer.com/\) sudo apt install -y --fix-broken ~/teamviewer-host_armhf.deb || error "Failed to install teamviewer-host_armhf.deb"
# Print out thanks # # Delete teamviewer installation file
echo Thank you for using my script. I hope you have a great day! rm -f ~/teamviewer-host_armhf.deb

@ -1,6 +1,10 @@
#!/bin/bash #!/bin/bash
echo Goodbye! DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
sudo dpkg -r teamviewer-host function error {
sudo apt autoremove -y echo -e "\\e[91m$1\\e[39m"
exit 1
}
sudo apt purge -y teamviewer-host || error "APT failed to remove teamviewer-host package."

Loading…
Cancel
Save