# Load debconf
. /usr/share/debconf/confmodule
+if [ "$1" != reconfigure ]; then
+
+ apache2_done=1
+
+ db_fget apache2-cn/wwwhost seen
+ if [ "$RET" != "true" ]; then
+ apache2_done=0
+ fi
+
+ test $apache2_done -eq 1 && exit 0
+fi
+
+
CONFDIR="/etc/apache2"
CONF="$CONFDIR/apache2.conf"
HOST=$(hostname)
if [ $has_listen_ssl -eq 1 ]; then
# SSL configuration already exists - no need for SSL certificates.
- db_set apache2-cn/sslcf "X" || true
- db_set apache2-cn/sslckf "X" || true
- db_set apache2-cn/sslccf "X" || true
+ db_set apache2-cn/sslcf "" || true
+ db_set apache2-cn/sslckf "" || true
+ db_set apache2-cn/sslccf "" || true
else
-
+
# SSL certificates information..
SSLCF=1
while [ $SSLCF -eq 1 ]; do