dh_installdocs causes making a /usr/doc link
Hello,
while lintian run I am getting this warning:
W: smb-network: postinst-should-not-set-usr-doc-link
N:
N: The technical committee chose the symlink transition method to move
N: from FSSTND to FHS. That transition has been completed with woody and
N: thus this link is no longer required.
N:
This is because dh_installdocs, called from debian/rules, puts this in
debian/smb-network.postinst.debhelper:
# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a ! -e /usr/doc/smb-network -a -d /usr/share/doc/smb-network ]; then
ln -sf ../share/doc/smb-network /usr/doc/smb-network
fi
fi
# End automatically added section
Why does dh_installdocs behave in an obsolete way? Is it a bug in
dh_installdocs?
Regards,
Marcel Kolaja
--------------------------------------------------------------------------
"Linux hackers are funny people: They count the time in patchlevels."
-- Martin Josefsson
Reply to: