Author: tille Date: 2011-12-04 12:21:31 +0000 (Sun, 04 Dec 2011) New Revision: 8756
Modified: trunk/packages/dcmtk/trunk/debian/changelog trunk/packages/dcmtk/trunk/debian/dcmtk.postrm trunk/packages/dcmtk/trunk/debian/dcmtk.prerm Log: Make sure dcmtk can be properly purged Modified: trunk/packages/dcmtk/trunk/debian/changelog =================================================================== --- trunk/packages/dcmtk/trunk/debian/changelog 2011-12-04 11:05:45 UTC (rev 8755) +++ trunk/packages/dcmtk/trunk/debian/changelog 2011-12-04 12:21:31 UTC (rev 8756) @@ -1,3 +1,10 @@ +dcmtk (3.6.0-10) UNRELEASED; urgency=low + + * debian/dcmtk.prerm: when purging dirs in /var/lib need to be + removed in advance + + -- Andreas Tille <[email protected]> Sun, 04 Dec 2011 12:57:30 +0100 + dcmtk (3.6.0-9) unstable; urgency=low * Remove dot wrapper, not required anymore. Modified: trunk/packages/dcmtk/trunk/debian/dcmtk.postrm =================================================================== --- trunk/packages/dcmtk/trunk/debian/dcmtk.postrm 2011-12-04 11:05:45 UTC (rev 8755) +++ trunk/packages/dcmtk/trunk/debian/dcmtk.postrm 2011-12-04 12:21:31 UTC (rev 8756) @@ -6,11 +6,6 @@ if [ "$1" = "purge" ] ; then - if [ -d /var/lib/dcmtk/db ]; then - rmdir /var/lib/dcmtk/db - rmdir /var/lib/dcmtk - fi - if [ -e /etc/default/imagectn.dpkg-old ]; then rm -f /etc/default/imagectn.dpkg-old fi Modified: trunk/packages/dcmtk/trunk/debian/dcmtk.prerm =================================================================== --- trunk/packages/dcmtk/trunk/debian/dcmtk.prerm 2011-12-04 11:05:45 UTC (rev 8755) +++ trunk/packages/dcmtk/trunk/debian/dcmtk.prerm 2011-12-04 12:21:31 UTC (rev 8756) @@ -10,6 +10,13 @@ fi fi +if [ "$1" = "purge" ] ; then + if [ -d /var/lib/dcmtk/db ]; then + rmdir /var/lib/dcmtk/db + rmdir /var/lib/dcmtk + fi +fi + #DEBHELPER# exit 0 _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
