From bb3cdb5d854f36f9006848cbbc9a1d4a94ebda06 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 26 Dec 2024 17:56:43 +0800 Subject: [PATCH] Update update.sh --- scripts/old/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/old/update.sh b/scripts/old/update.sh index 079aa5924..396064ef7 100644 --- a/scripts/old/update.sh +++ b/scripts/old/update.sh @@ -77,14 +77,14 @@ fi if [ "$LOCAL_ADDR" != "common" ];then # curl --insecure -sSLo /tmp/master.zip https://code.midoks.icu/midoks/mdserver-web/archive/master.zip - wget --no-check-certificate -O /tmp/master.zip github.com/midoks/mdserver-web/archive/refs/tags/${VERSION}.zip + wget --no-check-certificate -O /tmp/master.zip https://github.com/midoks/mdserver-web/archive/refs/tags/${VERSION}.zip cd /tmp && unzip /tmp/master.zip $CP_CMD -rf /tmp/mdserver-web/* /www/server/mdserver-web rm -rf /tmp/master.zip rm -rf /tmp/mdserver-web else - curl --insecure -sSLo /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master + curl --insecure -sSLo /tmp/master.zip https://github.com/midoks/mdserver-web/archive/refs/tags/${VERSION}.zip cd /tmp && unzip /tmp/master.zip $CP_CMD -rf /tmp/mdserver-web-master/* /www/server/mdserver-web