[pkg-kolab] r1126 - kolab-webclient/trunk/debian

mparent-guest at alioth.debian.org mparent-guest at alioth.debian.org
Wed Jan 14 17:28:59 UTC 2009


Author: mparent-guest
Date: 2009-01-14 17:28:59 +0000 (Wed, 14 Jan 2009)
New Revision: 1126

Modified:
   kolab-webclient/trunk/debian/postinst
Log:
reload apache after upgrade


Modified: kolab-webclient/trunk/debian/postinst
===================================================================
--- kolab-webclient/trunk/debian/postinst	2009-01-14 17:27:29 UTC (rev 1125)
+++ kolab-webclient/trunk/debian/postinst	2009-01-14 17:28:59 UTC (rev 1126)
@@ -7,10 +7,15 @@
 
 initialize_horde_db() {
 	#sqlite $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/storage/horde.db < scripts/sql/groupware.sql
+	true
 }
 
 configure_apache() {
-  #TODO
+	if command -v invoke-rc.d >/dev/null 2>&1; then
+		invoke-rc.d apache2 force-reload || :
+	else
+		[ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 force-reload || :
+	fi
 }
 
 # summary of how this script can be called:




More information about the pkg-kolab-devel mailing list