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