From 04f746ddb8a6403ac2f1e369b7b860a2fa6b8a6d Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 17 Sep 2022 12:05:46 +0300 Subject: It was not grepping the correct value, resulting to duplication in rc files --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 6c58b6d..b91f44d 100755 --- a/install.sh +++ b/install.sh @@ -28,7 +28,7 @@ else SHELLRC='.bashrc' fi logthis "Searching if rc is already there" -grep "source ~/$HAK/rc" $HOME/$SHELLRC > /dev/null 2>&1 +grep "source $HOME/$HAK/rc" $HOME/$SHELLRC > /dev/null 2>&1 if [ $? == 0 ]; then logthis "Already installed"; else -- cgit v1.2.3