summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-02-17 07:29:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-02-17 07:29:20 +0000
commita5db0bce5e5f14c60666d16d17b70973be0f1a32 (patch)
tree5648c3f88715ca2be7aa27a0ce3176ca31f832d5
parentReleasing debian version 20170515-2. (diff)
downloadopen-infrastructure-package-tracker-a5db0bce5e5f14c60666d16d17b70973be0f1a32.zip
open-infrastructure-package-tracker-a5db0bce5e5f14c60666d16d17b70973be0f1a32.tar.xz
Removing logfiles when purging package (Closes: #886929).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/open-infrastructure-package-tracker.postrm6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/open-infrastructure-package-tracker.postrm b/debian/open-infrastructure-package-tracker.postrm
index fba9390..f79c077 100755
--- a/debian/open-infrastructure-package-tracker.postrm
+++ b/debian/open-infrastructure-package-tracker.postrm
@@ -3,10 +3,14 @@
set -e
case "${1}" in
- remove|purge)
+ remove)
rm -rf /var/lib/package-tracker
;;
+ purge)
+ rm -rf /var/log/package-tracker
+ ;;
+
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;