pull/522/head
Mr Chen 1 year ago
parent f939b03a0b
commit 06be751d1a
  1. 3
      scripts/update.sh
  2. 2
      scripts/update_dev.sh

@ -72,7 +72,8 @@ if [ -f /bin/cp ];then
fi fi
if [ "$LOCAL_ADDR" != "common" ];then if [ "$LOCAL_ADDR" != "common" ];then
curl --insecure -sSLo /tmp/master.zip https://code.midoks.icu/midoks/mdserver-web/archive/master.zip # curl --insecure -sSLo /tmp/master.zip https://code.midoks.icu/midoks/mdserver-web/archive/master.zip
wget --no-check-certificate -O /tmp/master.zip https://code.midoks.icu/midoks/mdserver-web/archive/master.zip
cd /tmp && unzip /tmp/master.zip cd /tmp && unzip /tmp/master.zip
$CP_CMD -rf /tmp/mdserver-web/* /www/server/mdserver-web $CP_CMD -rf /tmp/mdserver-web/* /www/server/mdserver-web

@ -81,7 +81,7 @@ fi
echo "update mdserver-web code start" echo "update mdserver-web code start"
if [ "$LOCAL_ADDR" != "common" ];then if [ "$LOCAL_ADDR" != "common" ];then
wget --no-check-certificate /tmp/dev.zip https://code.midoks.icu/midoks/mdserver-web/archive/dev.zip wget --no-check-certificate -O /tmp/dev.zip https://code.midoks.icu/midoks/mdserver-web/archive/dev.zip
# curl --insecure -sSLo /tmp/dev.zip https://code.midoks.icu/midoks/mdserver-web/archive/dev.zip # curl --insecure -sSLo /tmp/dev.zip https://code.midoks.icu/midoks/mdserver-web/archive/dev.zip
cd /tmp && unzip /tmp/dev.zip cd /tmp && unzip /tmp/dev.zip

Loading…
Cancel
Save