Update and rename deinstall.sh to uninstall.sh
This commit is contained in:
parent
50da235534
commit
0604aeb773
@ -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
|
Loading…
Reference in New Issue
Block a user