Package: dh-make Version: 0.44 Severity: important The file [1] have some errors. I'm sent a patch.
[1] /usr/share/debhelper/dh_make/debian/init.d.ex -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-rc1-gef49c32b (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dh-make depends on: ii debhelper 5.0.61 helper programs for debian/rules ii dpkg-dev 1.14.7 package building tools for Debian ii make 3.81-3 The GNU version of the "make" util ii perl 5.8.8-11.1 Larry Wall's Practical Extraction dh-make recommends no packages. -- no debconf information
--- init.d.ex.orig 2007-12-02 00:59:19.000000000 -0200 +++ init.d.ex 2007-12-02 01:00:08.000000000 -0200 @@ -54,7 +54,7 @@ [ ! -f "$PIDFILE" ] && return 1 # Obtain the pid and check it against the binary name pid=`cat $PIDFILE` - running_pid $pid $NAME || return 1 + running_pid $pid $DAEMON || return 1 return 0 } @@ -83,7 +83,7 @@ echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- $DAEMON_OPTS - if running then + if running; then echo "$NAME." else echo " ERROR." @@ -98,7 +98,7 @@ force-stop) echo -n "Forcefully stopping $DESC: " force_stop - if ! running then + if ! running; then echo "$NAME." else echo " ERROR."