Commit 0ab5bcb2 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Fixed httpd postinst not to move ssl.pem so rashly.

parent b223eca6
...@@ -270,10 +270,11 @@ else ...@@ -270,10 +270,11 @@ else
fi fi
# #
# Rename ssl.pem to ssl.crt. # Rename ssl.pem to ssl.crt, and link it back.
# #
if [ -e /etc/ssl/ssl.pem ] ; then if [ -e /etc/ssl/ssl.pem ] ; then
mv /etc/ssl/ssl.pem /etc/ssl/ssl.crt mv /etc/ssl/ssl.pem /etc/ssl/ssl.crt
ln -s /etc/ssl/ssl.crt /etc/ssl/ssl.pem
fi fi
if [ "$makessl" == "1" ]; then if [ "$makessl" == "1" ]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment