Hello Mathieu,

On Sun, 3 Apr 2011 19:03:30 +0200, Mathieu Malaterre wrote:

> if [ -x "/etc/init.d/dcmqrscp" ]; then
>     if [ -x /usr/sbin/invoke-rc.d ]; then
>         invoke-rc.d --quiet dcmqrscp stop
>     else
>         /etc/init.d/dcmqrscp stop
>     fi
> fi
> 
> # Automatically added by dh_installinit
> if [ -x "/etc/init.d/dcmqrscp" ]; then
>       invoke-rc.d dcmqrscp stop || exit $?
> fi
> # End automatically added section

This is duplicate code. I suppose you wrote the first manually -- I suggest you
to remove it, since dh_installinit is taking care of it already.

Also, the error seem to be caused by this code. To find out, please add a "set
-x" to the top of /etc/init.d/dcmqrscp, to find where it breaks.

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to