Package: wesnoth
Version: 1:1.10.3-2
Severity: important
User: [email protected]
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

Attachment: wesnoth_1:1.10.3-2.log.gz
Description: GNU Zip compressed data

Reply via email to