aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kronqvist <work.joelkronqvist@pm.me>2022-05-13 16:39:10 +0300
committerJoel Kronqvist <work.joelkronqvist@pm.me>2022-05-13 16:39:10 +0300
commitb05d15e4e2771b31881fe8f0cf4c1deb8a2f4b58 (patch)
tree315deb7da151e41bf163378bc373f595ae26ee07
parent95719c45251edab1af535d963065384ed20cadf5 (diff)
downloadLYLLRuoka-b05d15e4e2771b31881fe8f0cf4c1deb8a2f4b58.tar.gz
LYLLRuoka-b05d15e4e2771b31881fe8f0cf4c1deb8a2f4b58.zip
Fixed big bad bug.
-rwxr-xr-xinit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.sh b/init.sh
index fce90af..51791d6 100755
--- a/init.sh
+++ b/init.sh
@@ -5,9 +5,7 @@ echo | date
echo "Init running"
echo "Removing old packages..."
-rm -rf "${PATH_TO_LYLLRUOKA%%FoodJS}"
-
-cd "${PATH_TO_LYLLRUOKA%%FoodJS}"
+rm -rf $PATH_TO_LYLLRUOKA
echo "Waiting for connection..."
while [ ! "$(ping 'www.github.com' -c 1)" ]
@@ -15,6 +13,8 @@ do
sleep 5
done
+cd "${PATH_TO_LYLLRUOKA%%FoodJS}"
+
echo "Cloning new packages..."
git clone "https://github.com/JoelHMikael/FoodJS.git"