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
82014583
Commit
82014583
authored
Dec 09, 2017
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/1123
parent
4249e13e
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
82014583
...
@@ -4308,7 +4308,12 @@ _installcert() {
...
@@ -4308,7 +4308,12 @@ _installcert() {
if
[
-f
"
$_real_key
"
]
&&
[
!
"
$IS_RENEW
"
]
;
then
if
[
-f
"
$_real_key
"
]
&&
[
!
"
$IS_RENEW
"
]
;
then
cp
"
$_real_key
"
"
$_backup_path
/key.bak"
cp
"
$_real_key
"
"
$_backup_path
/key.bak"
fi
fi
cat
"
$CERT_KEY_PATH
"
>
"
$_real_key
"
if
[
-f
"
$_real_key
"
]
;
then
cat
"
$CERT_KEY_PATH
"
>
"
$_real_key
"
else
cat
"
$CERT_KEY_PATH
"
>
"
$_real_key
"
chmod
700
"
$_real_key
"
fi
fi
fi
if
[
"
$_real_fullchain
"
]
;
then
if
[
"
$_real_fullchain
"
]
;
then
...
...
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