Bug#536384: perl-modules must depend on perl-base (= 5.10.0-24) or ship the changelog.Debian.gz
Sven Joachim
svenjoac at gmx.de
Sun Jul 12 20:43:50 UTC 2009
On 2009-07-12 22:12 +0200, Niko Tyni wrote:
> I'm not very eager either to add maintainer scripts juggling the
> /usr/share/doc symlinks. Can we even trust that all systems have
> /usr/share/doc/perl-modules -> perl, or could things like the old /usr/doc
> transition have left different details on systems with a long history?
Hardly, but it does not really matter. You just remove the offending
symlink after verifying that it is indeed, err, a symlink:
--8<---------------cut here---------------start------------->8---
if [ -L /usr/share/doc/perl-modules ]; then
rm -f /usr/share/doc/perl-modules
fi
--8<---------------cut here---------------end--------------->8---
That snippet in the preinst script is all you need.
Sven
More information about the Perl-maintainers
mailing list