From c880e935d7a891a4c65715ca8a12485863c0191b Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 2 Feb 2019 18:04:42 +0800 Subject: [PATCH] Update install_centos.sh --- scripts/install_centos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_centos.sh b/scripts/install_centos.sh index 61b5ce404..c85f009c1 100755 --- a/scripts/install_centos.sh +++ b/scripts/install_centos.sh @@ -17,7 +17,7 @@ yum install -y wget curl unzip zip -if [ ! -f '/www/server/mdserver-web' ];then +if [ ! -d '/www/server/mdserver-web' ];then wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master cd /tmp && unzip /tmp/master.zip mv /tmp/mdserver-web-master /www/server/mdserver-web