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
fbd2038f
Commit
fbd2038f
authored
Sep 26, 2016
by
neil
Browse files
minor
parent
e4b8d9b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
fbd2038f
...
...
@@ -104,7 +104,7 @@ _info() {
_err
()
{
_log
"
$@
"
__red
"
$(
_printargs
"
$@
"
)
"
>
&2
__red
"
$(
_printargs
"
$@
"
)
\n
"
>
&2
return
1
}
...
...
@@ -3407,13 +3407,13 @@ upgrade() {
_processAccountConf
()
{
if
[
"
$_useragent
"
]
;
then
_saveaccountconf
"USER_AGENT"
"
$_useragent
"
elif
[
"
$USER_AGENT
"
!=
"
$DEFAULT_USER_AGENT
"
]
;
then
elif
[
"
$USER_AGENT
"
]
&&
[
"
$USER_AGENT
"
!=
"
$DEFAULT_USER_AGENT
"
]
;
then
_saveaccountconf
"USER_AGENT"
"
$USER_AGENT
"
fi
if
[
"
$_accountemail
"
]
;
then
_saveaccountconf
"ACCOUNT_EMAIL"
"
$_accountemail
"
elif
[
"
$ACCOUNT_EMAIL
"
!=
"
$DEFAULT_ACCOUNT_EMAIL
"
]
;
then
elif
[
"
$ACCOUNT_EMAIL
"
]
&&
[
"
$ACCOUNT_EMAIL
"
!=
"
$DEFAULT_ACCOUNT_EMAIL
"
]
;
then
_saveaccountconf
"ACCOUNT_EMAIL"
"
$ACCOUNT_EMAIL
"
fi
...
...
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