From 0ae00eb5468fd8cc681705e0b127d02dfc0eab50 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Thu, 16 Dec 2021 11:12:30 +0200 Subject: Fixes (2): - Changed name to variable for rc file - Changed order of running scripts --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index e2102b7..77a0dea 100755 --- a/install.sh +++ b/install.sh @@ -30,8 +30,9 @@ grep "source ~/$HAK/rc" $HOME/$SHELLRC > /dev/null 2>&1 if [ $? == 0 ]; then logthis "Already installed"; else - echo "source ~/$HAK/rc" >> $HOME/$SHELLRC - logthis "$HAK installed at $HOME and sourced it in $SHELLRC"; + echo "source $HOME/$HAK/rc" >> $HOME/$SHELLRC + logthis "$HAK installed at $HOME and sourced it in $SHELLRC" + source $HOME/$HAK/rc; fi -sh init.sh sh ipfs-check-install-setup-init-update +sh init.sh -- cgit v1.2.3