1
0
lj2007331 9 жил өмнө
parent
commit
d0d60e8d09
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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"