mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:59:25 +08:00
Update update.sh
This commit is contained in:
@@ -99,7 +99,7 @@ fi
|
||||
systemctl restart nezha-dashboard
|
||||
echo $DOWNLOAD_URL
|
||||
|
||||
if [ -f /www/server/nezha ];then
|
||||
if [ -d /www/server/nezha ];then
|
||||
echo "$NUMBER_LATEST_VERSION" > /www/server/nezha/version.pl
|
||||
fi
|
||||
echo "ok"
|
||||
Reference in New Issue
Block a user