From 1e588718a855ae2871a8841f6c6e621f49795454 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Sat, 17 Dec 2022 21:31:41 +0100 Subject: Start moving to esm, work on updater --- bin/uninstall.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/uninstall.sh') diff --git a/bin/uninstall.sh b/bin/uninstall.sh index ee8a5a2..c05d2f8 100755 --- a/bin/uninstall.sh +++ b/bin/uninstall.sh @@ -137,15 +137,16 @@ if [ $res -eq 1 ]; then header "Uninstall luxcena-neo" execCommand "rm -f /etc/systemd/system/luxcena-neo.service" - execCommand "rm -rf /opt/luxcena-neo" + execCommand "systemctl reload-daemon" + execCommand "rm -rf /var/log/luxcena-neo" TPUT setaf 2 printf "\nEverything should now be gone.\n" - printf "/etc/luxcena-neo and /var/log/luxcena-neo is not removed.\n" + printf "/etc/luxcena-neo is not removed.\n" TPUT sgr0 TPUT setaf 8 printf "Well, some dependencies still exists. Those are:\n" printf " - packages (nodejs python3 python3-pip)\n" TPUT sgr0 fi -TPUT cnorm \ No newline at end of file +TPUT cnorm -- cgit v1.2.3