Control: tags -1 + patch Hi Daniel
I was looking at current RC bugs for wheezy and noticed #696066. As suggested by Andreas the attached patch should work. I have done the Squeeze -> Wheezy test. Not sure if something needs to be further done (extra care) as the package also produces a udeb? Regards, Salvatore
diff -Nru fuse-2.9.0/debian/changelog fuse-2.9.0/debian/changelog --- fuse-2.9.0/debian/changelog 2012-06-21 13:53:17.000000000 +0200 +++ fuse-2.9.0/debian/changelog 2012-12-22 15:56:54.000000000 +0100 @@ -1,3 +1,14 @@ +fuse (2.9.0-2+deb7u1) testing-proposed-updates; urgency=low + + * Non-maintainer upload. + * Fix "directory vs. symlink mess after squeeze => wheezy upgrade: + /usr/share/doc/fuse-utils/". dpkg overwrites files over an existing + symlink. Thus test in fuse-utils.preinst if a symlink exists and remove + it, as in Squeeze fuse-utils had a symlink in /usr/share/doc but not in + Wheezy (Closes: #696066). + + -- Salvatore Bonaccorso <car...@debian.org> Sat, 22 Dec 2012 15:35:33 +0100 + fuse (2.9.0-2) unstable; urgency=low * Correcting debhelper docs file to not include unwanted files diff -Nru fuse-2.9.0/debian/fuse-utils.preinst fuse-2.9.0/debian/fuse-utils.preinst --- fuse-2.9.0/debian/fuse-utils.preinst 1970-01-01 01:00:00.000000000 +0100 +++ fuse-2.9.0/debian/fuse-utils.preinst 2012-12-22 15:56:54.000000000 +0100 @@ -0,0 +1,33 @@ +#!/bin/sh +# preinst script for fuse-utils +# +# see: dh_installdeb(1) + +set -e + +case "$1" in + install|upgrade) + # In Squeeze /usr/share/doc/fuse-utils was a symlink but in + # Wheezy fuse-utils is only a transitional package. dpkg + # installs the files over an existing symlink. + # When removing fuse-utils package afterwards files installed by + # fuse-utils are missing. Thus test first if + # /usr/share/doc/fuse-utils is a symlink and remove it + test ! -L /usr/share/doc/fuse-utils || rm /usr/share/doc/fuse-utils + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0
signature.asc
Description: Digital signature