From d3322ce6456698a6c1a92360f8cb2e06fb931b69 Mon Sep 17 00:00:00 2001 From: Botspot Date: Fri, 27 Aug 2021 22:43:36 -0500 Subject: [PATCH] Anydesk: use pkg-install --- apps/AnyDesk/install-32 | 3 +-- apps/AnyDesk/uninstall | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/AnyDesk/install-32 b/apps/AnyDesk/install-32 index e085b27..ffa29ba 100755 --- a/apps/AnyDesk/install-32 +++ b/apps/AnyDesk/install-32 @@ -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" diff --git a/apps/AnyDesk/uninstall b/apps/AnyDesk/uninstall index 4c25514..46bc224 100755 --- a/apps/AnyDesk/uninstall +++ b/apps/AnyDesk/uninstall @@ -7,4 +7,4 @@ function error { exit 1 } -sudo apt purge -y anydesk +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1