Merge branch 'master' of github.com:chrys87/fenrir

This commit is contained in:
chrys 2017-03-18 22:51:04 +01:00
commit 3a0844badb
2 changed files with 7 additions and 6 deletions

View File

@ -6,8 +6,8 @@ read -p "This will install Fenrir. Press ctrl+c to cancel, or enter to continue.
install -m755 -d /opt/fenrir
cp -a src/fenrir/* /opt/fenrir
install -m644 -D "autostart/systemd/fenrir.service" /usr/lib/systemd/system/fenrir.service
ln -s /opt/fenrir/fenrir-daemon /usr/bin/fenrir
ln -s /opt/fenrir/fenrir-daemon /usr/bin/fenrir-daemon
ln -s /opt/fenrir/fenrir /usr/bin/fenrir
# tools
install -m755 -d /usr/share/fenrir/tools
cp -a tools/* /usr/share/fenrir/tools

View File

@ -1,8 +1,8 @@
#!/bin/bash
#Basic install script for fenrir.
#Basic uninstall script for fenrir.
cat << EOF
fenrir is going to remove.
every script and settings are lost.
Fenrir is going to remove.
All scripts and settings will be lost.
EOF
# ask
@ -10,6 +10,7 @@ read -p "This will remove fenrir and settings. Press ctrl+c to cancel, or enter
# do it
unlink /usr/bin/fenrir
unlink /usr/bin/fenrir-daemon
rm -r /opt/fenrir
rm -r /usr/share/fenrir
rm -r /etc/fenrir
@ -18,5 +19,5 @@ rm /usr/lib/systemd/system/fenrir.service
# success message
cat << EOF
fenrir is removed
Fenrir has been successfully removed from your system.
EOF