Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
e4b8d9b9
Commit
e4b8d9b9
authored
Sep 25, 2016
by
neil
Browse files
minor, No need to save ACCOUNT_URL
parent
6b500036
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
e4b8d9b9
...
...
@@ -1836,8 +1836,6 @@ _regAccount() {
_accUri
=
"
$(
echo
"
$responseHeaders
"
|
grep
"^Location:"
|
cut
-d
' '
-f
2|
tr
-d
"
\r\n
"
)
"
_debug
"_accUri"
"
$_accUri
"
ACCOUNT_URL
=
"
$_accUri
"
_saveaccountconf ACCOUNT_URL
"
$ACCOUNT_URL
"
_tos
=
"
$(
echo
"
$responseHeaders
"
|
grep
"^Link:.*rel=
\"
terms-of-service
\"
"
| _egrep_o
"<.*>"
|
tr
-d
'<>'
)
"
_debug
"_tos"
"
$_tos
"
...
...
@@ -2979,7 +2977,6 @@ _initconf() {
#ACCOUNT_KEY_PATH=
\"
/path/to/account.key
\"
#CERT_HOME=
\"
/path/to/cert/home
\"
#ACCOUNT_URL=
\"\"
#LOG_FILE=
\"
$DEFAULT_LOG_FILE
\"
...
...
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