From e0aa01cc89459930830c9f06eb72c8d012262d0b Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:31:41 -0500 Subject: [PATCH] piKiss: implement install script natively in pi-apps due to upstream breakage for the third time recently https://github.com/jmcerrejon/PiKISS/issues/201 --- apps/piKiss/install | 17 ++++++++++++++++- apps/piKiss/uninstall | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/apps/piKiss/install b/apps/piKiss/install index 8d03ca3bbb..1fbe9b0f2d 100755 --- a/apps/piKiss/install +++ b/apps/piKiss/install @@ -1,2 +1,17 @@ #!/bin/bash -curl -sSL https://git.io/JfAPE | bash || error 'Failed to install piKiss!' + +if ! grep -q ~/.local/share/applications/pikiss.desktop + +status_green "PiKISS installed! +================= + +To run: Menu -> System Tools -> PiKiss +To run in a terminal: ~/piKiss/piKiss.sh" diff --git a/apps/piKiss/uninstall b/apps/piKiss/uninstall index bee0db6c23..28b471616d 100755 --- a/apps/piKiss/uninstall +++ b/apps/piKiss/uninstall @@ -1,5 +1,5 @@ #!/bin/bash -sudo rm -r ~/piKiss -sudo rm ~/.local/share/applications/pikiss.desktop +sudo rm -rf ~/piKiss +sudo rm -f ~/.local/share/applications/pikiss.desktop purge_packages || exit 1