瀏覽代碼

allow site generation when root dir exists

tags/v2.0.0
Robin Thoni 8 年之前
父節點
當前提交
3a194f86d5
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      sitegen.sh

+ 2
- 2
sitegen.sh 查看文件

@@ -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…
取消
儲存