pull/513/head
Mr Chen 1 year ago
parent 83f736d5b2
commit 0650858824
  1. 4
      scripts/install_dev.sh
  2. 2
      scripts/update.sh
  3. 2
      scripts/update_dev.sh

@ -96,7 +96,7 @@ if [ $OSNAME != "macos" ];then
rm -rf /tmp/dev.zip rm -rf /tmp/dev.zip
rm -rf /tmp/mdserver-web-dev rm -rf /tmp/mdserver-web-dev
else else
curl --insecure -sSLo /tmp/dev.zip https://code.midoks.me/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
mv -f /tmp/mdserver-web /www/server/mdserver-web mv -f /tmp/mdserver-web /www/server/mdserver-web
rm -rf /tmp/dev.zip rm -rf /tmp/dev.zip
@ -123,7 +123,7 @@ fi
echo "use system version: ${OSNAME}" echo "use system version: ${OSNAME}"
if [ "${OSNAME}" == "macos" ];then if [ "${OSNAME}" == "macos" ];then
curl --insecure -fsSL https://code.midoks.me/midoks/mdserver-web/raw/branch/master/scripts/install/macos.sh | bash curl --insecure -fsSL https://code.midoks.icu/midoks/mdserver-web/raw/branch/master/scripts/install/macos.sh | bash
else else
cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh
fi fi

@ -72,7 +72,7 @@ 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.me/midoks/mdserver-web/archive/master.zip curl --insecure -sSLo /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
curl --insecure -sSLo /tmp/dev.zip https://code.midoks.me/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
$CP_CMD -rf /tmp/mdserver-web/* /www/server/mdserver-web $CP_CMD -rf /tmp/mdserver-web/* /www/server/mdserver-web

Loading…
Cancel
Save