Update update_dev.sh

This commit is contained in:
dami 2025-08-18 20:22:49 +08:00
parent 66c875584f
commit 9cd46a7f9f
1 changed files with 8 additions and 0 deletions

View File

@ -205,6 +205,14 @@ if [ -f /bin/cp ];then
CP_CMD=/bin/cp
fi
if [ -f /tmp/dev.tar.gz ];then
rm -rf /tmp/dev.tar.gz
fi
if [ -d /tmp/mdserver-web-dev ];then
rm -rf /tmp/mdserver-web-dev
fi
echo "update mdserver-web dev code start"
curl --insecure -sSLo /tmp/dev.tar.gz ${HTTP_PREFIX}github.com/midoks/mdserver-web/archive/refs/heads/dev.tar.gz