From 035b3b83128d17e19cd08df98f96a180790399ab Mon Sep 17 00:00:00 2001 From: Timo Westphal <67635013+actionschnitzel@users.noreply.github.com> Date: Thu, 30 Nov 2023 20:11:19 +0100 Subject: [PATCH] Update install --- apps/PiGro/install | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/apps/PiGro/install b/apps/PiGro/install index faea3c4da2..ef2872e46c 100755 --- a/apps/PiGro/install +++ b/apps/PiGro/install @@ -2,20 +2,4 @@ version=23.04 -# Check if ~/PiGro-Aid- exists. | 23.04 or earlier. New Dir is /opt/ -if [ -d ~/PiGro-Aid- ]; then - # Purge packages and exit with code 1 if unsuccessful - purge_packages || exit 1 - - # Remove directory ~/PiGro-Aid- - rm -rf ~/PiGro-Aid- - - # Remove desktop file from Desktop and ~/.local/share/applications/ - rm -f ~/Desktop/pigro.desktop ~/.local/share/applications/pigro.desktop -else - echo "Directory ~/PiGro-Aid- not found. No action taken." -fi - - - install_packages https://github.com/actionschnitzel/PiGro-Aid-/releases/download/${version}/pigro-jci-${version}.deb || exit 1