From: Bdale Garbee Date: Fri, 6 Jan 2006 03:13:45 +0000 (-0700) Subject: Imported Debian patch 0.4b41-2 X-Git-Tag: debian/0.4b41-2 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=973f40e854f663de720e5a80ea58a554f8251bb7;p=debian%2Fdump Imported Debian patch 0.4b41-2 --- diff --git a/debian/changelog b/debian/changelog index f3f818c..2b7fe6c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dump (0.4b41-2) unstable; urgency=low + + * fix postrm to only remove dumpdates file on purge, closes: #346142 + + -- Bdale Garbee Thu, 5 Jan 2006 20:13:45 -0700 + dump (0.4b41-1) unstable; urgency=low * new upstream version diff --git a/debian/postrm b/debian/postrm index f5ca1ce..822abeb 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,5 +1,16 @@ #!/bin/sh -e -rm -f /var/lib/dumpdates +case "$1" in + purge) + rm -f /var/lib/dumpdates + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 +esac #DEBHELPER#