Package: startpar
Version: 0.59-3
Tags: patch

In Ubuntu insserv has been moved to /usr/lib/insserv/insserv. Could you include 
this patch so that startpar can be built there too?

-- 
Jon Boden

ubuntuBSD -- The power of FreeBSD kernel with familiarity of Ubuntu OS!

http://www.ubuntubsd.org/ -- https://twitter.com/ubuntuBSD
Index: startpar-0.59/testsuite/runtests
===================================================================
--- startpar-0.59.orig/testsuite/runtests
+++ startpar-0.59/testsuite/runtests
@@ -6,6 +6,15 @@ if [ -z "$STARTPAR" ] ; then
     STARTPAR=../startpar
 fi
 
+if [ -e "/sbin/insserv" ] ; then
+    INSSERV=/sbin/insserv
+elif [ -e "/usr/lib/insserv/insserv" ] ; then
+    INSSERV=/usr/lib/insserv/insserv
+else
+    echo error: insserv not found
+    exit 1
+fi
+
 mkdir -p etc/init.d
 touch etc/insserv.conf
 cat > etc/init.d/test <<EOF
@@ -24,7 +33,7 @@ echo success: the test script is running
 EOF
 chmod a+rx etc/init.d/test
 
-/sbin/insserv -p etc/init.d test
+$INSSERV -p etc/init.d test
 if $STARTPAR -d etc/init.d -e etc -P S -R 2 -M start 2>&1 | grep -q 'is running' ; then
     echo success: the test init.d script was running
 else
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to