[med-svn] r9566 - trunk/packages/fis-gtm/fis-gtm-initial/trunk/debian

Luis Ibanez luisibanez-guest at alioth.debian.org
Sun Feb 5 17:00:41 UTC 2012


Author: luisibanez-guest
Date: 2012-02-05 17:00:40 +0000 (Sun, 05 Feb 2012)
New Revision: 9566

Modified:
   trunk/packages/fis-gtm/fis-gtm-initial/trunk/debian/postrm
Log:
Fixed path to template file and added echos.

The defaults.template file is actually in a
fis-gtm-initial subdirectory. Before it was
pointing to a fis-gtm directory.

The echos were added for debugging purposes,
while we gain full confidence in the correct
behavior of this script.



Modified: trunk/packages/fis-gtm/fis-gtm-initial/trunk/debian/postrm
===================================================================
--- trunk/packages/fis-gtm/fis-gtm-initial/trunk/debian/postrm	2012-02-05 15:36:14 UTC (rev 9565)
+++ trunk/packages/fis-gtm/fis-gtm-initial/trunk/debian/postrm	2012-02-05 17:00:40 UTC (rev 9566)
@@ -19,7 +19,7 @@
 # the debian-policy package
 
 . /usr/share/debconf/confmodule
-TEMPLATE="/usr/share/fis-gtm/defaults.template"
+TEMPLATE="/usr/share/fis-gtm-initial/defaults.template"
 CONFFILE="/etc/default/fis-gtm-initial"
 
 goAway()
@@ -30,6 +30,7 @@
     cd $FISGTM_ROOT
     # remove current version
     if [ -n $FISGTM_VERSION_INITIAL ]; then 
+      echo "Removing $FISGTM_VERSION_INITIAL-initial"
       rm -rf $FISGTM_VERSION_INITIAL-initial
     else
       echo "##### bad config #####"
@@ -37,6 +38,7 @@
 
     # if this is the only one, remove ROOT_DIR
     cd ..
+    echo "Removing $FISGTM_ROOT"
     rmdir --ignore-fail-on-non-empty $FISGTM_ROOT
   else
     echo "E: no CONFFILE available!?"




More information about the debian-med-commit mailing list