From ee58805ae97e7e8f78605d56c39ac1e500eaa620 Mon Sep 17 00:00:00 2001 From: jyeric Date: Sun, 12 Jan 2025 03:49:32 +0800 Subject: [PATCH] Fix: Unable to move --- scripts/old/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/old/install.sh b/scripts/old/install.sh index 33ec45521..8971bfea2 100644 --- a/scripts/old/install.sh +++ b/scripts/old/install.sh @@ -101,7 +101,7 @@ if [ $OSNAME != "macos" ];then if [ "$LOCAL_ADDR" == "common" ];then curl --insecure -sSLo /tmp/master.zip ${HTTP_PREFIX}github.com/midoks/mdserver-web/archive/refs/tags/${VERSION}.zip cd /tmp && unzip /tmp/master.zip - mv -f /tmp/mdserver-web-master /www/server/mdserver-web + mv -f /tmp/mdserver-web-${VERSION} /www/server/mdserver-web rm -rf /tmp/master.zip rm -rf /tmp/mdserver-web-master else @@ -175,4 +175,4 @@ echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" } 1> >(tee $LOG_FILE) 2>&1 echo -e "\nInstall completed. If error occurs, please contact us with the log file mw-install.log ." -echo "安装完毕,如果出现错误,请带上同目录下的安装日志 mw-install.log 联系我们反馈." \ No newline at end of file +echo "安装完毕,如果出现错误,请带上同目录下的安装日志 mw-install.log 联系我们反馈."