tags 262627 + patch
thanks

Here is a patch;
pbuilder is broken by this because inetd starts up
a new session when it is upgraded in the chroot,
and regression test is failing.



diff -ru netkit-base-0.10-orig/debian/postinst netkit-base-0.10/debian/postinst
--- netkit-base-0.10-orig/debian/postinst       2005-12-21 18:39:04.000000000 
+0900
+++ netkit-base-0.10/debian/postinst    2005-12-21 18:42:48.000000000 +0900
@@ -36,9 +36,17 @@
        update-rc.d inetd defaults 20 >/dev/null 2>&1

        if [ "$2" = "" ]; then
-               /etc/init.d/inetd start >&2
+               if [ -x /usr/sbin/invoke-rc.d ]; then
+                       /usr/sbin/invoke-rc.d inetd start >&2
+               else
+                       /etc/init.d/inetd start >&2
+               fi
        else
-               /etc/init.d/inetd restart >&2
+               if [ -x /usr/sbin/invoke-rc.d ]; then
+                       /usr/sbin/invoke-rc.d inetd restart >&2
+               else
+                       /etc/init.d/inetd restart >&2
+               fi
        fi
 fi

==================================================


regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to