an older version of the dma package.
dma (0.0.2009.07.17-3) unstable; urgency=low
- * Really install the files in /etc/dma/ as root/mail/640.
- Closes: #544664
+ * Really install the files in /etc/dma/ as root/mail/640 and
+ change the ownership of the existing files in the postinst script
+ when upgrading from older versions. Closes: #544664
* Install the /usr/bin/mailq and /usr/bin/newaliases symlinks.
Closes: #558421
* Switch to the 3.0 (quilt) source format.
db_get dma/dbounceprog
sed -i -re 's/^[[:space:]]*(#+[[:space:]]*)?DBOUNCEPROG([[:space:]]+.*)?$/DBOUNCEPROG '"$RET/" /etc/dma/dma.conf
+
+ if dpkg --compare-versions "$2" lt '0.0.2009.07.17-3'; then
+ chown root:mail /etc/dma/*
+ chmod 640 /etc/dma/*
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)