From 1f2a33a1780ade06a60d0cb479c2d4e2df4b510b Mon Sep 17 00:00:00 2001 From: chrys87 Date: Thu, 16 Mar 2017 23:51:22 +0100 Subject: [PATCH 1/3] fix ln for bin folder --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 3bb6b09c3465bb1a9b6ac1b4db977dd6405021b7 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Thu, 16 Mar 2017 23:53:16 +0100 Subject: [PATCH 2/3] also fix uninstall --- uninstall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/uninstall.sh b/uninstall.sh index 7fa6ed26..71971322 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -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 From 9043ab92008c23f09e3b97027147aa4e3b878b51 Mon Sep 17 00:00:00 2001 From: Jeremiah Ticket Date: Sat, 18 Mar 2017 02:02:56 -0800 Subject: [PATCH 3/3] Updated uninstall. --- uninstall.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uninstall.sh b/uninstall.sh index 71971322..fe3cbefa 100644 --- 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 @@ -19,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