Update and rename deinstall.sh to uninstall.sh

This commit is contained in:
chrys87 2017-02-17 10:11:00 +01:00 committed by GitHub
parent 50da235534
commit 0604aeb773

View File

@ -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