aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh7
1 files changed, 4 insertions, 3 deletions
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