Debian Codegraph @

uninstall.sh

raw
1 #!/bin/bash
2 #Basic uninstall script for Fenrir.
3 cat << EOF
4 Fenrir is going to remove.
5 All scripts and settings will be lost.
6 EOF
7
8 # ask
9 read -p "This will remove Fenrir and its settings from your system,, press ctrl+C to cancel, or enter to continue." continue
10
11 # do it
12 unlink /usr/bin/fenrir
13 unlink /usr/bin/fenrir-daemon
14 rm -rf /opt/fenrirscreenreader
15 rm -rf /usr/share/fenrirscreenreader
16 rm -rf /etc/fenrirscreenreader
17 rm -rf /usr/share/sounds/fenrirscreenreader
18 rm -f /etc/systemd/system/fenrir.service
19
20 # success message
21 cat << EOF
22 Fenrir has been successfully removed from your system.
23 EOF