Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
eaad34a6
Commit
eaad34a6
authored
Mar 01, 2017
by
neil
Committed by
GitHub
Mar 01, 2017
Browse files
Merge pull request #685 from Neilpang/dev
Dev
parents
a0037c93
839f18d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
eaad34a6
...
@@ -1486,7 +1486,7 @@ _inithttp() {
...
@@ -1486,7 +1486,7 @@ _inithttp() {
fi
fi
#from wget 1.14: do not skip body on 404 error
#from wget 1.14: do not skip body on 404 error
if
[
"
$_ACME_WGET
"
]
&&
_contains
"
$(
$_ACME_WGET
--help
)
"
"--content-on-error"
;
then
if
[
"
$_ACME_WGET
"
]
&&
_contains
"
$(
$_ACME_WGET
--help
2>&1
)
"
"--content-on-error"
;
then
_ACME_WGET
=
"
$_ACME_WGET
--content-on-error "
_ACME_WGET
=
"
$_ACME_WGET
--content-on-error "
fi
fi
...
...
dnsapi/dns_gandi_livedns.sh
View file @
eaad34a6
...
@@ -37,8 +37,8 @@ dns_gandi_livedns_add() {
...
@@ -37,8 +37,8 @@ dns_gandi_livedns_add() {
_debug sub_domain
"
$_sub_domain
"
_debug sub_domain
"
$_sub_domain
"
_gandi_livedns_rest PUT
"domains/
$_domain
/records/
$_sub_domain
/TXT"
"{
\"
rrset_ttl
\"
: 300,
\"
rrset_values
\"
:[
\"
$txtvalue
\"
]}"
\
_gandi_livedns_rest PUT
"domains/
$_domain
/records/
$_sub_domain
/TXT"
"{
\"
rrset_ttl
\"
: 300,
\"
rrset_values
\"
:[
\"
$txtvalue
\"
]}"
\
&&
_contains
"
$response
"
'{"message": "Zone Record Created"}'
\
&&
_contains
"
$response
"
'{"message": "Zone Record Created"}'
\
&&
_info
"Add
$(
__green
"success"
)
"
&&
_info
"Add
$(
__green
"success"
)
"
}
}
#Usage: fulldomain txtvalue
#Usage: fulldomain txtvalue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment