[merged]
authorHeiko Schlittermann (JUMPER) <hs@schlittermann.de>
Fri, 02 Sep 2011 15:48:10 +0200
changeset 29 c1190fe78637
parent 28 f87fe5029832 (diff)
parent 27 dad8e8057af3 (current diff)
child 30 efe30f9946b0
[merged]
--- a/debian/littlebird-tc-common.config	Fri Sep 02 15:37:42 2011 +0200
+++ b/debian/littlebird-tc-common.config	Fri Sep 02 15:48:10 2011 +0200
@@ -1,5 +1,4 @@
 #! /bin/sh
-echo "$0: $@" >&2
 set -e
 . /usr/share/debconf/confmodule
 db_version 2.0
--- a/debian/littlebird-tc-core.postinst	Fri Sep 02 15:37:42 2011 +0200
+++ b/debian/littlebird-tc-core.postinst	Fri Sep 02 15:48:10 2011 +0200
@@ -1,5 +1,4 @@
 #!/bin/sh
-echo "$0: $@" >&2
 # postinst script for littlebird
 #
 # see: dh_installdeb(1)
@@ -168,8 +167,14 @@
 
 
     db_stop || true
-    a2enmod ssl
-    invoke-rc.d apache2 reload >&2
+	( . /etc/apache2/envvars
+	  if ! apache2 -M 2>/dev/null | grep -q ssl_module; then
+		  a2enmod ssl
+		  invoke-rc.d apache2 restart >&2
+	  else
+		  invoke-rc.d apache2 reload >&2
+	  fi
+	)
 
     ;;
 
--- a/debian/littlebird-tc-sql.config	Fri Sep 02 15:37:42 2011 +0200
+++ b/debian/littlebird-tc-sql.config	Fri Sep 02 15:48:10 2011 +0200
@@ -1,5 +1,4 @@
 #! /bin/sh
-echo "$0: $@" >&2
 set -e
 . /usr/share/debconf/confmodule
 db_version 2.0
--- a/debian/littlebird-tc-sql.postinst	Fri Sep 02 15:37:42 2011 +0200
+++ b/debian/littlebird-tc-sql.postinst	Fri Sep 02 15:48:10 2011 +0200
@@ -1,5 +1,4 @@
 #!/bin/sh
-echo "$0: $@" >&2
 # postinst script for littlebird
 #
 # see: dh_installdeb(1)