浏览代码

Fix staging check being backwards...

master
Chris Smith 8 年前
父节点
当前提交
ae0b8f99d5
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      config.sh

+ 5
- 4
config.sh 查看文件

@@ -1,10 +1,11 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 BASEDIR=/letsencrypt
4
-CONTACT_EMAIL="$EMAIL"
4
+CONTACT_EMAIL=$EMAIL
5 5
 
6
-if [[ -z "${STAGING:-}" ]]; then
7
-  CA="https://acme-staging.api.letsencrypt.org/directory"
8
-else
6
+if [ -z ${STAGING+-} ]; then
9 7
   CA="https://acme-v01.api.letsencrypt.org/directory"
8
+else
9
+  CA="https://acme-staging.api.letsencrypt.org/directory"
10 10
 fi
11
+

正在加载...
取消
保存