[med-svn] r7390 - trunk/packages/gmod/gbrowse/trunk/debian

olivier sallou osallou-guest at alioth.debian.org
Mon Aug 8 09:25:17 UTC 2011


Author: osallou-guest
Date: 2011-08-08 09:25:17 +0000 (Mon, 08 Aug 2011)
New Revision: 7390

Modified:
   trunk/packages/gmod/gbrowse/trunk/debian/postrm
Log:
delete only on purge

Modified: trunk/packages/gmod/gbrowse/trunk/debian/postrm
===================================================================
--- trunk/packages/gmod/gbrowse/trunk/debian/postrm	2011-08-08 09:13:17 UTC (rev 7389)
+++ trunk/packages/gmod/gbrowse/trunk/debian/postrm	2011-08-08 09:25:17 UTC (rev 7390)
@@ -6,10 +6,6 @@
     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
         rm -rf /var/cache/gbrowse
         
-        if [ -e /usr/share/gbrowse ] ; then
-            rm -rf /usr/share/gbrowse
-        fi
-        
         if [ "$1" = "purge" ] ; then
             update-rc.d gbrowse-slave  remove
             if [ -e /etc/init.d/gbrowse-slave ] ; then
@@ -18,6 +14,9 @@
             if [ -e /etc/default/gbrowse-slave ] ; then
                 rm /etc/default/gbrowse-slave
             fi
+            if [ -e /usr/share/gbrowse ] ; then
+                rm -rf /usr/share/gbrowse
+            fi
         fi
     ;;
 




More information about the debian-med-commit mailing list