Anydesk: use pkg-install

pull/936/head
Botspot 4 years ago
parent abebe5642c
commit d3322ce645

@ -14,5 +14,4 @@ filename='anydesk_6.1.1-1_armhf'
wget https://download.anydesk.com/rpi/${filename}.deb || error "Failed to downloading file. Make sure 'wget' is installed and verify your Internet Network Connection"
# Installing the software with permissions
sudo apt install -y --fix-broken ~/${filename}.deb || error "Failed to install deb file"
"${DIRECTORY}/pkg-install" ~/${filename}.deb "$(dirname "$0")" || error "Failed to install deb file"

@ -7,4 +7,4 @@ function error {
exit 1
}
sudo apt purge -y anydesk
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1

Loading…
Cancel
Save