Browse Source

allow site generation when root dir exists

tags/v2.0.0
Robin Thoni 8 years ago
parent
commit
3a194f86d5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      sitegen.sh

+ 2
- 2
sitegen.sh View File

@@ -68,9 +68,9 @@ then
68 68
   exit 2
69 69
 fi
70 70
 
71
-if [ -f "${site_conf}" ] || [ -f "${site_include}" ]
71
+if [ -f "${site_conf}" ]
72 72
 then
73
-  echo "Host already exists: ${site_conf} and/or ${site_include}" >&2
73
+  echo "Host already exists: ${site_conf}" >&2
74 74
   exit 3
75 75
 fi
76 76
 

Loading…
Cancel
Save