diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2022-09-17 12:05:46 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2022-09-17 12:05:46 +0300 |
commit | 04f746ddb8a6403ac2f1e369b7b860a2fa6b8a6d (patch) | |
tree | bd197646765f5538c3392f421e7ec65a19c0166e | |
parent | dfbcb50aaf34520512f7b94d76b3c355e498574a (diff) | |
download | arching-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-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |