|
|
|
@ -86,7 +86,7 @@ if [ $OSNAME != "macos" ];then |
|
|
|
|
if [ "$LOCAL_ADDR" == "common" ];then |
|
|
|
|
curl --insecure -sSLo /tmp/dev.zip ${HTTP_PREFIX}github.com/midoks/mdserver-web/archive/refs/heads/dev.zip |
|
|
|
|
else |
|
|
|
|
curl --insecure -sSLo /tmp/dev.zip https://gitee.com/midoks/mdserver-web/repository/archive/dev.zip |
|
|
|
|
curl --insecure -sSLo /tmp/dev.zip https://code.midoks.me/midoks/mdserver-web/archive/dev.tar.gz |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
cd /tmp && unzip /tmp/dev.zip |
|
|
|
@ -116,7 +116,7 @@ echo "use system version: ${OSNAME}" |
|
|
|
|
|
|
|
|
|
if [ "${OSNAME}" == "macos" ];then |
|
|
|
|
if [ "$LOCAL_ADDR" != "common" ];then |
|
|
|
|
curl --insecure -fsSL https://gitee.com/midoks/mdserver-web/raw/dev/scripts/install/macos.sh | bash |
|
|
|
|
curl --insecure -fsSL https://code.midoks.me/midoks/mdserver-web/raw/branch/master/scripts/install/macos.sh | bash |
|
|
|
|
else |
|
|
|
|
curl --insecure -fsSL ${HTTP_PREFIX}https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/install/macos.sh | bash |
|
|
|
|
fi |
|
|
|
|