Create deinstall.sh

This commit is contained in:
chrys87 2017-02-02 10:10:27 +01:00 committed by GitHub
parent edd6779e1c
commit 74cf5f1a16

16
deinstall.sh Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
#Basic install script for fenrir.
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
rm -r /opt/fenrir
rm -r /usr/share/fenrir
rm -r /etc/fenrir
rm -r /usr/share/sounds/fenrir
unlink /usr/bin/fenrir
cat << EOF
fenrir is removed
EOF