2017-02-02 04:10:27 -05:00
|
|
|
#!/bin/bash
|
|
|
|
#Basic install script for fenrir.
|
|
|
|
cat << EOF
|
|
|
|
fenrir is going to remove.
|
|
|
|
every script and settings are lost.
|
|
|
|
EOF
|
2017-02-17 04:11:00 -05:00
|
|
|
|
|
|
|
# ask
|
|
|
|
read -p "This will remove fenrir and settings. Press ctrl+c to cancel, or enter to continue." continue
|
|
|
|
|
|
|
|
# do it
|
2017-02-02 04:14:06 -05:00
|
|
|
unlink /usr/bin/fenrir
|
2017-02-02 04:10:27 -05:00
|
|
|
rm -r /opt/fenrir
|
|
|
|
rm -r /usr/share/fenrir
|
|
|
|
rm -r /etc/fenrir
|
|
|
|
rm -r /usr/share/sounds/fenrir
|
2017-02-17 04:11:00 -05:00
|
|
|
rm /usr/lib/systemd/system/fenrir.service
|
2017-02-02 04:10:27 -05:00
|
|
|
|
2017-02-17 04:11:00 -05:00
|
|
|
# success message
|
2017-02-02 04:10:27 -05:00
|
|
|
cat << EOF
|
|
|
|
fenrir is removed
|
|
|
|
EOF
|