diff --git a/apps/YouTubuddy/install b/apps/YouTubuddy/install index 415102c..2e7f28c 100755 --- a/apps/YouTubuddy/install +++ b/apps/YouTubuddy/install @@ -7,6 +7,8 @@ function error { exit 1 } +"${DIRECTORY}/pkg-install" "vlc yad imagemagick jq python python3-pip" "$(dirname "$0")" || error "Failed to install dependencies" + rm -rf ~/youtubuddy git clone https://github.com/Botspot/youtubuddy || error 'Failed to clone youtubuddy repository!' ~/youtubuddy/gui install || error "YouTubuddy install procedure exited somehow!" diff --git a/apps/YouTubuddy/uninstall b/apps/YouTubuddy/uninstall index 0be96a1..f27a5dd 100755 --- a/apps/YouTubuddy/uninstall +++ b/apps/YouTubuddy/uninstall @@ -8,3 +8,4 @@ function error { } rm -rf ~/youtubuddy ~/.local/share/applications/youtubuddy.desktop +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || error "Failed to uninstall unneeded dependencies"