Ver código fonte

allow site generation when root dir exists

tags/v2.0.0
Robin Thoni 8 anos atrás
pai
commit
3a194f86d5
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      sitegen.sh

+ 2
- 2
sitegen.sh Ver arquivo

@@ -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
 

Carregando…
Cancelar
Salvar