Browse Source

Update vhost.sh

lj2007331 9 years ago
parent
commit
d0d60e8d09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vhost.sh

+ 1 - 1
vhost.sh

@@ -240,7 +240,7 @@ else
     	rewrite="other"
     fi
     echo "You choose rewrite=${CMSG}$rewrite${CEND}" 
-    if [ -s "conf/$rewrite.conf" ];then
+    if [ -e "config/$rewrite.conf" ];then
     	/bin/cp config/$rewrite.conf $web_install_dir/conf/$rewrite.conf
     else
     	touch "$web_install_dir/conf/$rewrite.conf"