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 <[email protected]>]
+  * Swedish translation   (Closes: #661351).
+
+ -- Olivier Sallou <[email protected]>  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 
<[email protected]>
-Uploaders: Olivier Sallou <[email protected]>
+Uploaders: Olivier Sallou <[email protected]>
 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


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to