Is this still valid?
Hi
I just wonder if this lintian error is still applicable?
W: harden-tools: 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: harden-tools: 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.
Or should I simply ignore it.
I think that it is due to the /usr/doc /usr/share/doc thing but I'm
not sure.
Regards,
// Ola
--
--------------------- Ola Lundqvist ---------------------------
/ opal@debian.org Björnkärrsgatan 5 A.11 \
| opal@lysator.liu.se 584 36 LINKÖPING |
| +46 (0)13-17 69 83 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
Reply to: