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

Loading…
Cancel
Save