[med-svn] r10580 - trunk/packages/biomaj-watcher/trunk/debian

Olivier Sallou osallou at alioth.debian.org
Wed Apr 25 07:40:59 UTC 2012


Author: osallou
Date: 2012-04-25 07:40:59 +0000 (Wed, 25 Apr 2012)
New Revision: 10580

Modified:
   trunk/packages/biomaj-watcher/trunk/debian/changelog
   trunk/packages/biomaj-watcher/trunk/debian/control
   trunk/packages/biomaj-watcher/trunk/debian/postrm
Log:
Fix purge bug, add sv translation

Modified: trunk/packages/biomaj-watcher/trunk/debian/changelog
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/changelog	2012-04-25 07:32:47 UTC (rev 10579)
+++ trunk/packages/biomaj-watcher/trunk/debian/changelog	2012-04-25 07:40:59 UTC (rev 10580)
@@ -1,3 +1,11 @@
+biomaj-watcher (1.2.0-5) unstable; urgency=low
+
+  * Remove remaining files after purge (Closes: #670391).
+  [Martin Bagge <brother at bsnet.se>]
+  * Swedish translation   (Closes: #661351).
+
+ -- Olivier Sallou <osallou at debian.org>  Wed, 25 Apr 2012 09:10:33 +0200
+
 biomaj-watcher (1.2.0-4) unstable; urgency=low
 
   [debian-l10n-english]

Modified: trunk/packages/biomaj-watcher/trunk/debian/control
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/control	2012-04-25 07:32:47 UTC (rev 10579)
+++ trunk/packages/biomaj-watcher/trunk/debian/control	2012-04-25 07:40:59 UTC (rev 10580)
@@ -2,7 +2,7 @@
 Section: contrib/science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Olivier Sallou <olivier.sallou at irisa.fr>
+Uploaders: Olivier Sallou <osallou at debian.org>
 DM-Upload-Allowed: yes
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/biomaj-watcher/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/biomaj-watcher/trunk/?rev=0&sc=0

Modified: trunk/packages/biomaj-watcher/trunk/debian/postrm
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/postrm	2012-04-25 07:32:47 UTC (rev 10579)
+++ trunk/packages/biomaj-watcher/trunk/debian/postrm	2012-04-25 07:40:59 UTC (rev 10580)
@@ -8,7 +8,7 @@
 case "$1" in
     upgrade)
     ;;
-    purge|remove|failed-upgrade|abort-install|abort-upgrade|disappear)
+    remove|failed-upgrade|abort-install|abort-upgrade|disappear)
 
       if [ -e /var/lib/tomcat6/shared/biomaj.jar ]; then
         rm  /var/lib/tomcat6/shared/biomaj.jar
@@ -18,6 +18,16 @@
       rm -f /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/*.jar
     ;;
 
+    purge)
+      if [ -e /var/lib/tomcat6/shared/biomaj.jar ]; then
+        rm  /var/lib/tomcat6/shared/biomaj.jar
+      fi
+      rm -f /etc/tomcat6/Catalina/localhost/BmajWatcher.xml
+      rm -f /etc/tomcat6/Catalina/localhost/BmajWatcher#logs.xml
+      rm -f /usr/share/java/webapps/biomaj-watcher/WEB-INF/lib/*.jar
+      rm -rf /etc/biomaj-watcher
+    ;;
+
     *)
         echo "postrm called with unknown argument \`$1'" >&2
         exit 1




More information about the debian-med-commit mailing list