diff options
Diffstat (limited to 'init.sh')
-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" |