Update install_dev.sh

pull/457/head
midoks 2 years ago
parent 682f8309c4
commit 6b85710504
  1. 2
      scripts/install_dev.sh

@ -74,7 +74,7 @@ fi
HTTP_PREFIX="https://"
LOCAL_ADDR=common
cn=$(curl -fsSL -m 10 -s http://ipinfo.io/json | grep "\"country\": \"CN\"")
if [ ! -z "$cn" ] || [ "$?" != "0" ] ;then
if [ ! -z "$cn" ] || [ "$?" == "0" ] ;then
LOCAL_ADDR=cn
HTTP_PREFIX="https://ghproxy.com/"
fi

Loading…
Cancel
Save