pull/632/head
Mr Chen 5 months ago
parent 9915ed35d0
commit da9c57cf84
  1. 1
      scripts/install_dev.sh
  2. 7
      scripts/install_new.sh

@ -11,7 +11,6 @@ if [ -f /www/server/mdserver-web/tools.py ];then
exit 0
fi
echo -e "您正在安装的是\033[31mmdserver-web测试版\033[0m,非开发测试用途请使用正式版 install.sh !"
echo -e "You are installing\033[31m mdserver-web dev version\033[0m, normally use install.sh for production.\n"
sleep 1

@ -4,6 +4,13 @@ export PATH
# LANG=en_US.UTF-8
is64bit=`getconf LONG_BIT`
if [ -f /www/server/mdserver-web/tools.py ];then
echo -e "存在旧版代码,不能安装!,已知风险的情况下"
echo -e "rm -rf /www/server/mdserver-web"
echo -e "可安装!"
exit 0
fi
echo -e "您正在安装的是\033[31mmdserver-web测试版\033[0m,非开发测试用途请使用正式版 install.sh !"
echo -e "You are installing\033[31m mdserver-web dev version\033[0m, normally use install.sh for production.\n"
sleep 1

Loading…
Cancel
Save