[med-svn] r11431 - trunk/packages/biomaj/trunk/debian

Olivier Sallou osallou at alioth.debian.org
Fri Jun 22 07:52:53 UTC 2012


Author: osallou
Date: 2012-06-22 07:52:52 +0000 (Fri, 22 Jun 2012)
New Revision: 11431

Modified:
   trunk/packages/biomaj/trunk/debian/postrm
Log:
Clean all generated data for purge

Modified: trunk/packages/biomaj/trunk/debian/postrm
===================================================================
--- trunk/packages/biomaj/trunk/debian/postrm	2012-06-22 07:51:29 UTC (rev 11430)
+++ trunk/packages/biomaj/trunk/debian/postrm	2012-06-22 07:52:52 UTC (rev 11431)
@@ -7,8 +7,9 @@
 
 case "$1" in
     purge)
-    if [ -e /var/lib/biomaj/migration ]; then
-      rm -rf /var/lib/biomaj/migration
+    # Remove generated data and migration info
+    if [ -e /var/lib/biomaj ]; then
+      rm -rf /var/lib/biomaj
     fi
     # Remove all
     if [ -e /usr/share/biomaj ]; then




More information about the debian-med-commit mailing list