[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: más paquetes deb no oficiales



On Tue, Nov 12, 2002 at 11:18:51AM +0100, Eric Van Buggenhaut wrote:
> - lintian da dos avisos sobre problemas:
> 
> [eric@linex:/var/cache/pbuilder/result]$ lintian -i
> cugar_1.0.6-1.woody_i386.changes
> W: cugar: prerm-does-not-remove-usr-doc-link
> N:
> N:   The technical committee chose the symlink transition method to move
> N:   from FSSTND to FHS. This transition involves setting the link in the
> N:   postinst script and removing it in the prerm script. Here is an
> N:   example (/bin/sh):
> N:    if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/pkg ]; then
> N:      rm -f /usr/doc/pkg
> N:    fi
> N:   The test for this is not perfect. If you are setting the link, please
> N:   send the line of code to us so we can improve the test.
> N:
> W: cugar: postinst-does-not-set-usr-doc-link
> N:
> N:   The technical committee chose the symlink transition method to move
> N:   from FSSTND to FHS. This transition involves setting the link in the
> N:   postinst script and removing it in the prerm script. Here is an
> N:   example (/bin/sh):
> N:    if [ "$1" = "configure" ]; then
> N:     if [ -d /usr/doc -a ! -e /usr/doc/pkg -a -d /usr/share/doc/pkg ]; then
> N:      ln -sf ../share/doc/pkg /usr/doc/pkg
> N:     fi
> N:    fi
> N:   The test for this is not perfect. If you are setting the link, please
> N:   send the line of code to us so we can improve the test.
> N:
> [eric@linex:/var/cache/pbuilder/result]$

Lintian no deberia dar estos warnings, mirad el changelog de debhelper 
version 4.1.0, y la seccion 13.4 de la policy. O al menos yo lo entiendo
asi :>

Esta noche mando un bicho a lintian...

saludos,
guillem



Reply to: