Hi Giuseppe,
You can use the "DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT" variable in the maintainer script to tell whether or not to purge the file - it requires dpkg (>= 1.17.2)[1][2]. ~Niels [1]: dpkg/1.17.2 changelog: * Pass the package reference count (i.e. number of present instances) to maintainer scripts via the new variable DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT. Closes: #681370 [2] The commit adding the variable: http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=commitdiff;h=8fe6910ed0a87f1233fae933679373866183596f -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org