[med-svn] [metaphlan2-data] 01/02: postrm needs to remove files created in postinst

Andreas Tille tille at debian.org
Tue Oct 18 10:36:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository metaphlan2-data.

commit c596952a990f0b1f58aac18cf89b2666e68e504d
Author: Andreas Tille <tille at debian.org>
Date:   Tue Oct 18 12:22:50 2016 +0200

    postrm needs to remove files created in postinst
---
 debian/changelog | 7 +++++++
 debian/postrm    | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 73960cc..42c5779 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+metaphlan2-data (2.6.0+ds-2) UNRELEASED; urgency=medium
+
+  * postrm needs to remove files created in postinst
+    Closes: #840971
+
+ -- Andreas Tille <tille at debian.org>  Tue, 18 Oct 2016 12:21:41 +0200
+
 metaphlan2-data (2.6.0+ds-1) unstable; urgency=medium
 
   * Initial release (Closes: #836956)
diff --git a/debian/postrm b/debian/postrm
index 8f29d38..c2a3112 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -12,7 +12,8 @@ if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
     . /usr/share/debconf/confmodule
     # Remove my changes to the db.
     db_purge
+    # remove files created in postinst
+    rm -rf /usr/share/metaphlan2/db_v20/*.bt2
 fi
 
 #DEBHELPER#
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/metaphlan2-data.git



More information about the debian-med-commit mailing list