Update update_new.sh

This commit is contained in:
Mr Chen 2024-11-30 21:58:06 +08:00
parent da9c57cf84
commit 3d3cde4353
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,13 @@ is64bit=`getconf LONG_BIT`
startTime=`date +%s`
if [ -f /www/server/mdserver-web/tools.py ];then
echo -e "存在旧版代码,不能安装!,已知风险的情况下"
echo -e "rm -rf /www/server/mdserver-web"
echo -e "可安装!"
exit 0
fi
_os=`uname`
echo "use system: ${_os}"