From 0604aeb773dda56bf8a1f0a7bd7e9b4c6076e05d Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 17 Feb 2017 10:11:00 +0100 Subject: [PATCH] Update and rename deinstall.sh to uninstall.sh --- deinstall.sh => uninstall.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename deinstall.sh => uninstall.sh (74%) diff --git a/deinstall.sh b/uninstall.sh similarity index 74% rename from deinstall.sh rename to uninstall.sh index d72f9b5a..7fa6ed26 100644 --- a/deinstall.sh +++ b/uninstall.sh @@ -4,13 +4,19 @@ cat << EOF fenrir is going to remove. every script and settings are lost. EOF -read -p "This will remove fenrir and settings. Press ctrl+c to cancil, or enter to continue." continue + +# ask +read -p "This will remove fenrir and settings. Press ctrl+c to cancel, or enter to continue." continue + +# do it unlink /usr/bin/fenrir rm -r /opt/fenrir rm -r /usr/share/fenrir rm -r /etc/fenrir rm -r /usr/share/sounds/fenrir +rm /usr/lib/systemd/system/fenrir.service +# success message cat << EOF fenrir is removed EOF