diff options
author | Joel Kronqvist <work.joelkronqvist@pm.me> | 2022-05-13 16:39:10 +0300 |
---|---|---|
committer | Joel Kronqvist <work.joelkronqvist@pm.me> | 2022-05-13 16:39:10 +0300 |
commit | b05d15e4e2771b31881fe8f0cf4c1deb8a2f4b58 (patch) | |
tree | 315deb7da151e41bf163378bc373f595ae26ee07 | |
parent | 95719c45251edab1af535d963065384ed20cadf5 (diff) | |
download | LYLLRuoka-b05d15e4e2771b31881fe8f0cf4c1deb8a2f4b58.tar.gz LYLLRuoka-b05d15e4e2771b31881fe8f0cf4c1deb8a2f4b58.zip |
Fixed big bad bug.
-rwxr-xr-x | init.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |