aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2022-09-17 12:05:46 +0300
committerkaotisk <kaotisk@arching-kaos.org>2022-09-17 12:05:46 +0300
commit04f746ddb8a6403ac2f1e369b7b860a2fa6b8a6d (patch)
treebd197646765f5538c3392f421e7ec65a19c0166e
parentdfbcb50aaf34520512f7b94d76b3c355e498574a (diff)
downloadarching-kaos-tools-04f746ddb8a6403ac2f1e369b7b860a2fa6b8a6d.tar.gz
arching-kaos-tools-04f746ddb8a6403ac2f1e369b7b860a2fa6b8a6d.tar.bz2
arching-kaos-tools-04f746ddb8a6403ac2f1e369b7b860a2fa6b8a6d.zip
It was not grepping the correct value, resulting to duplication in rc files
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
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