[Pkg-mailman-hackers] Pkg-mailman commit - rev 786 - trunk/debian

Thijs Kinkhorst thijs at moszumanska.debian.org
Mon Apr 25 16:44:55 UTC 2016


Author: thijs
Date: 2016-04-25 16:44:55 +0000 (Mon, 25 Apr 2016)
New Revision: 786

Modified:
   trunk/debian/prerm
Log:
Remove path to invoke-rc.d in prerm


Modified: trunk/debian/prerm
===================================================================
--- trunk/debian/prerm	2016-04-25 16:41:55 UTC (rev 785)
+++ trunk/debian/prerm	2016-04-25 16:44:55 UTC (rev 786)
@@ -8,7 +8,7 @@
 
 if [ "$1" = "failed-upgrade" ] ; then
   if [ -x "/etc/init.d/mailman" ]; then
-    if [ -x /usr/sbin/invoke-rc.d ] ; then
+    if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
       invoke-rc.d mailman stop || true
     else
       /etc/init.d/mailman stop || true




More information about the Pkg-mailman-hackers mailing list