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