diff -Nru hylafax-6.0.6/debian/changelog hylafax-6.0.6/debian/changelog --- hylafax-6.0.6/debian/changelog 2013-03-10 17:37:23.000000000 +0000 +++ hylafax-6.0.6/debian/changelog 2014-12-04 21:48:07.000000000 +0000 @@ -1,3 +1,9 @@ +hylafax (3:6.0.6-6) unstable; urgency=medium + + * Don't remove files managed by dpkg when purging package. + + -- Giuseppe Sacco Thu, 04 Dec 2014 22:47:58 +0100 + hylafax (3:6.0.6-5) unstable; urgency=medium * Remove all changes since 6.0.6-1. diff -Nru hylafax-6.0.6/debian/hylafax-server.postrm hylafax-6.0.6/debian/hylafax-server.postrm --- hylafax-6.0.6/debian/hylafax-server.postrm 2013-03-10 17:14:49.000000000 +0000 +++ hylafax-6.0.6/debian/hylafax-server.postrm 2014-12-04 21:34:47.000000000 +0000 @@ -9,11 +9,6 @@ then [ -x $USERDEL ] && $USERDEL faxmaster fi - # - # This will remove the directory that holds a copy of the real - # debian configuration in /etc/hylafax - [ -d /var/spool/hylafax/etc ] && rm -rf /var/spool/hylafax/etc - [ -L /var/spool/hylafax/bin ] && rm /var/spool/hylafax/bin for i in /etc/hylafax/setup.cache /etc/hylafax/setup.modem \ /var/spool/hylafax/status/any.info /var/spool/hylafax/dev/null \ @@ -23,8 +18,6 @@ do [ -e "$i" -o -L "$i" ] && rm "$i" done - - [ -d /var/spool/hylafax/bin ] && rmdir --ignore-fail-on-non-empty /var/spool/hylafax/bin fi exit 0