diff --git a/install.sh b/install.sh index a6975adb..d5dc4d3e 100755 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/uninstall.sh b/uninstall.sh index 7fa6ed26..fe3cbefa 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -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