aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.com>2021-12-16 11:12:30 +0200
committerkaotisk <kaotisk@arching-kaos.com>2021-12-16 11:12:30 +0200
commit0ae00eb5468fd8cc681705e0b127d02dfc0eab50 (patch)
treeafe369f263a40ff54c37ec4ac6a2d8ecb559a52a /install.sh
parent7f619627dfba6f130b73584241b86e6245a9cd8b (diff)
downloadarching-kaos-tools-0ae00eb5468fd8cc681705e0b127d02dfc0eab50.tar.gz
arching-kaos-tools-0ae00eb5468fd8cc681705e0b127d02dfc0eab50.tar.bz2
arching-kaos-tools-0ae00eb5468fd8cc681705e0b127d02dfc0eab50.zip
Fixes (2):
- Changed name to variable for rc file - Changed order of running scripts
Diffstat (limited to 'install.sh')
-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