[pkg-db-devel] Bug#771877: libdb5.3-java: trailing slash makes dpkg-maintscript-helper symlink_to_dir call useless
Andreas Beckmann
anbe at debian.org
Wed Dec 3 04:28:32 UTC 2014
Package: libdb5.3-java
Version: 5.3.28-6
Severity: serious
Hi,
libdb5.3-java.maintscript contains a bug, rendering it useless:
symlink_to_dir /usr/share/doc/libdb5.3-java/ /usr/share/doc/libdb5.3 5.3.28-6~ -- "$@"
^
The trailing slash on the PATHNAME argument is wrong because
test -h /path/to/link/
will never succeed - it always resolves to an underlying directory -
while
test -h /path/to/link
will work as expected.
Do not forget to bump the LASTVERSION when fixing this - the symlink
would have survived into the current version.
Andreas
More information about the pkg-db-devel
mailing list