Bug#688712: wesnoth: needs to handle symlink to directory change of /usr/share/doc/wesnoth
Andreas Beckmann
debian at abeckmann.de
Mon Sep 24 23:07:55 UTC 2012
Package: wesnoth
Version: 1:1.10.3-2
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package partially overwrites
wesnoth-1.8-data in squeeze to wheezy upgrades.
/usr/share/doc/wesnoth is a link to wesnoth-1.8-data in squeeze and a
regular directory in wheezy. dpkg does not replace symlinks with
directories and vice versa, therefore maintainer scripts need to be
used.
Probably something like
if [ -L /usr/share/doc/wesnoth ] ; then
rm -f /usr/share/doc/wesnoth
fi
in the preinst should be sufficent.
debsums reports the following modified files:
/usr/share/doc/wesnoth-1.8-data/changelog.Debian.gz
/usr/share/doc/wesnoth-1.8-data/changelog.gz
/usr/share/doc/wesnoth-1.8-data/copyright
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wesnoth_1:1.10.3-2.log.gz
Type: application/x-gzip
Size: 31435 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20120925/60588982/attachment-0001.bin>
More information about the Pkg-games-devel
mailing list