lcs-libjs : Force reload apache2 in postinst and postrm
authorjlcf <jlcf>
Mon, 7 Jun 2010 15:51:28 +0000 (15:51 +0000)
committerjlcf <jlcf@1012e355-7652-49d3-8fd6-1f9b0b464cea>
Mon, 7 Jun 2010 15:51:28 +0000 (15:51 +0000)
git-svn-id: https://svn.tice.ac-caen.fr/svn/LcsSE3/LCS/LCS2.0ndg/sources/trunk/lcs-libjs@3369 1012e355-7652-49d3-8fd6-1f9b0b464cea

debian/postinst
debian/postrm

index a338a54..8ce5a27 100644 (file)
@@ -20,7 +20,8 @@ set -e
 
 case "$1" in
     configure)
-
+                    # force-reload apache2
+                    invoke-rc.d apache2 force-reload
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
index ea75cf4..18dc4cd 100644 (file)
@@ -21,7 +21,8 @@ set -e
 
 case "$1" in
     purge|remove)
-
+        # force-reload apache2
+        invoke-rc.d apache2 force-reload
     ;;
 
     upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)