aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 0915b4f..2768c71 100755
--- a/install.sh
+++ b/install.sh
@@ -230,12 +230,12 @@ else
fi
_ak_log_debug "Searching if rc is already there"
-grep "source $HOME/$HAK/rc" $HOME/$SHELLRC > /dev/null 2>&1
+grep "source $HOME/$HAK/rc" $SHELLRC > /dev/null 2>&1
if [ $? -eq 0 ]
then
_ak_log_debug "Already installed";
else
- echo "source $HOME/$HAK/rc" >> $HOME/$SHELLRC
+ echo "source $HOME/$HAK/rc" >> $SHELLRC
_ak_log_debug "$HAK installed at $HOME and sourced it in $SHELLRC"
source $HOME/$HAK/rc;
fi