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