tag 688712 + patch thanks Hi Rhonda,
On Mon, Sep 24, 2012 at 4:07 PM, Andreas Beckmann <deb...@abeckmann.de> wrote: > Package: wesnoth > Version: 1:1.10.3-2 > Severity: important > User: debian...@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. Since both wesnoth-1.10 and wesnoth-1.10-core are symlinks to /usr/share/doc/wesnoth-1.10-data, I'm assuming that your intention was for /usr/share/doc/wesnoth to be a symlink to /usr/share/doc/wesnoth-1.10-data as well, right? Assuming that this is correct, I propose the following patch (which I've also committed into the git repo). It creates the symlink in the rules file, and includes a postinst script for the wesnoth package to overwrite the /usr/share/doc/wesnoth directory as a symlink for users who already have the current wesnoth package in wheezy installed (heavily based on libpipeline's postinst script). (I admit I haven't tested this yet, but I'll do so ASAP.) Regards, Vincent
wesnoth-1.10_1.10.3-3.debdiff
Description: Binary data