pull/399/head
midoks 2 years ago
parent e95acbe947
commit 2ffa36eecb
  1. 4
      scripts/install.sh
  2. 4
      scripts/install_dev.sh

@ -112,11 +112,7 @@ fi
echo "use system version: ${OSNAME}" echo "use system version: ${OSNAME}"
if [ "${OSNAME}" == "macos" ];then if [ "${OSNAME}" == "macos" ];then
if [ "$LOCAL_ADDR" != "common" ];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.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
else else
cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh
fi fi

@ -115,11 +115,7 @@ fi
echo "use system version: ${OSNAME}" echo "use system version: ${OSNAME}"
if [ "${OSNAME}" == "macos" ];then if [ "${OSNAME}" == "macos" ];then
if [ "$LOCAL_ADDR" != "common" ];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.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
else else
cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh
fi fi

Loading…
Cancel
Save