lj2007331 преди 9 години
родител
ревизия
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"