diff --git a/12345.sh b/12345.sh index e456f022..bf62657a 100755 --- a/12345.sh +++ b/12345.sh @@ -159,6 +159,7 @@ while true; do if [[ ${arr[0]} == "poule" ]]; then echo "UPDATING CODE git pull > ~/.zen/tmp/.lastpull" echo "$HTTPCORS" > ~/.zen/tmp/.lastpull + cd ~/.zen/Astroport.ONE git pull >> ~/.zen/tmp/.lastpull rm ~/.zen/game/players/localhost/latest (cat ~/.zen/tmp/.lastpull | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && continue