aboutsummaryrefslogtreecommitdiff
path: root/bin/uninstall.sh
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2022-12-17 21:31:41 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-12-17 21:31:41 +0100
commit1e588718a855ae2871a8841f6c6e621f49795454 (patch)
tree6599b3959554b307a571a73373114cb2d34a98ef /bin/uninstall.sh
parent6c37c28d7044a813fcde9ef80bf8852529b8305f (diff)
downloadLuxcena-Neo-1e588718a855ae2871a8841f6c6e621f49795454.tar.gz
Luxcena-Neo-1e588718a855ae2871a8841f6c6e621f49795454.zip
Start moving to esm, work on updater
Diffstat (limited to 'bin/uninstall.sh')
-rwxr-xr-xbin/uninstall.sh7
1 files changed, 4 insertions, 3 deletions
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