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
78552b18
Commit
78552b18
authored
Mar 03, 2016
by
BlueAnanas
Browse files
Removed redundant backup in installcert when RealCACertPath == RealCertPath
parent
d62ee940
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
78552b18
...
@@ -1349,13 +1349,13 @@ installcert() {
...
@@ -1349,13 +1349,13 @@ installcert() {
fi
fi
if
[
"
$Le_RealCACertPath
"
]
;
then
if
[
"
$Le_RealCACertPath
"
]
;
then
if
[
-f
"
$Le_RealCACertPath
"
]
;
then
cp
-p
"
$Le_RealCACertPath
"
"
$Le_RealCACertPath
"
.bak
fi
if
[
"
$Le_RealCACertPath
"
==
"
$Le_RealCertPath
"
]
;
then
if
[
"
$Le_RealCACertPath
"
==
"
$Le_RealCertPath
"
]
;
then
echo
""
>>
"
$Le_RealCACertPath
"
echo
""
>>
"
$Le_RealCACertPath
"
cat
"
$CA_CERT_PATH
"
>>
"
$Le_RealCACertPath
"
cat
"
$CA_CERT_PATH
"
>>
"
$Le_RealCACertPath
"
else
else
if
[
-f
"
$Le_RealCACertPath
"
]
;
then
cp
-p
"
$Le_RealCACertPath
"
"
$Le_RealCACertPath
"
.bak
fi
cat
"
$CA_CERT_PATH
"
>
"
$Le_RealCACertPath
"
cat
"
$CA_CERT_PATH
"
>
"
$Le_RealCACertPath
"
fi
fi
fi
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