Merge 8b2fa5096c8995bf5b1561c3a4ca395d289febfd into 84f664f36e567dd46c8fac1cdfe5c14fd94ecc04

This commit is contained in:
BlueAnanas 2016-03-03 13:58:06 +00:00
commit 298f47de44

6
le.sh
View File

@ -1020,13 +1020,13 @@ installcert() {
fi
if [ "$Le_RealCACertPath" ] ; then
if [ -f "$Le_RealCACertPath" ] ; then
cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak
fi
if [ "$Le_RealCACertPath" == "$Le_RealCertPath" ] ; then
echo "" >> "$Le_RealCACertPath"
cat "$CA_CERT_PATH" >> "$Le_RealCACertPath"
else
if [ -f "$Le_RealCACertPath" ] ; then
cp -p "$Le_RealCACertPath" "$Le_RealCACertPath".bak
fi
cat "$CA_CERT_PATH" > "$Le_RealCACertPath"
fi
fi