Thanks!

Applied and uploaded.

Best regards,

// Ola

On Sun, May 18, 2008 at 04:33:55PM +0200, Petter Reinholdtsen wrote:
> found 469569 0.5.2-9
> thanks
> 
> >  ledcontrol (0.5.2-9) unstable; urgency=low
> >  .
> >    * LSB init script, closes: #469569.
> >      Thanks to Petter Reinholdtsen <[EMAIL PROTECTED]> for the patch.
> 
> Gah, the patch was not correct.  It was patching the wrong file.  Here
> is a working patch, patching the wrong file and making it more obvious
> which file is the source and which is a convenience path.  It removes
> the copy from debian/ and uses a symlink instead.
> 
> diff -u ledcontrol-0.5.2/debian/rules ledcontrol-0.5.2/debian/rules
> --- ledcontrol-0.5.2/debian/rules
> +++ ledcontrol-0.5.2/debian/rules
> @@ -42,6 +42,8 @@
>       dh_testroot
>       rm -f build-stamp configure-stamp
>  
> +     rm -f debian/ledcontrol.ledd
> +
>       # Add here commands to clean up after the build process.
>       -$(MAKE) distclean
>  
> @@ -75,7 +77,8 @@
>       dh_installdocs
>       dh_installexamples
>       dh_installmenu
> -     cp ledd-sysv-debian debian/ledcontrol.ledd
> +     rm -f debian/ledcontrol.ledd
> +     ln -s ../ledd-sysv-debian debian/ledcontrol.ledd
>       dh_installinit --init-script=ledd
>       dh_installcron
>       dh_installinfo
> --- ledcontrol-0.5.2.orig/ledd-sysv-debian.in
> +++ ledcontrol-0.5.2/ledd-sysv-debian.in
> @@ -1,6 +1,12 @@
>  #!/bin/sh
> -#
> -# ledd       the led daemon (from ledcontrol)
> +### BEGIN INIT INFO
> +# Provides:          ledd
> +# Required-Start:    $remote_fs $syslog
> +# Required-Stop:     $remote_fs $syslog
> +# Default-Start:     2 3 4 5
> +# Default-Stop:      1
> +# Short-Description: the led daemon (from ledcontrol)
> +### END INIT INFO
>  #
>  #            Written by Sampo Niskanen <[EMAIL PROTECTED]>.
>  #
> 
> 
> 
> Happy hacking,
> -- 
> Petter Reinholdtsen
> 
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



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

Reply via email to