[Pkg-tcltk-commits] r1274 - dotlrn/trunk/debian

geox-guest at alioth.debian.org geox-guest at alioth.debian.org
Thu Jun 28 15:09:04 UTC 2012


Author: geox-guest
Date: 2012-06-28 15:09:04 +0000 (Thu, 28 Jun 2012)
New Revision: 1274

Modified:
   dotlrn/trunk/debian/changelog
   dotlrn/trunk/debian/postrm
Log:
Fixed call to ucf on postrm.



Modified: dotlrn/trunk/debian/changelog
===================================================================
--- dotlrn/trunk/debian/changelog	2012-06-26 12:59:01 UTC (rev 1273)
+++ dotlrn/trunk/debian/changelog	2012-06-28 15:09:04 UTC (rev 1274)
@@ -1,3 +1,9 @@
+dotlrn (2.5.0+dfsg-8) unstable; urgency=low
+
+  * Fixed call to ucf on postrm. Closes: #677060
+
+ -- Hector Romojaro <hromojaro at dia.uned.es>  Thu, 28 Jun 2012 16:32:23 +0200
+
 dotlrn (2.5.0+dfsg-7) unstable; urgency=low
 
   * Updated to 3.0 packaging format. Closes: #661038

Modified: dotlrn/trunk/debian/postrm
===================================================================
--- dotlrn/trunk/debian/postrm	2012-06-26 12:59:01 UTC (rev 1273)
+++ dotlrn/trunk/debian/postrm	2012-06-28 15:09:04 UTC (rev 1274)
@@ -17,9 +17,15 @@
 		db_version 2.0
 
 		rm -rf /usr/share/dotlrn
-		ucf --purge /etc/dotlrn/config.tcl
-		ucf --purge /etc/dotlrn/dotlrn.sh
-		rm -rf /etc/dotlrn
+        rm -rf /etc/dotlrn
+        if which ucf >/dev/null; then
+            ucf --purge /etc/dotlrn/config.tcl
+            ucf --purge /etc/dotlrn/dotlrn.sh 
+        fi
+        if which ucfr >/dev/null; then
+            ucfr --purge dotlrn /etc/dotlrn/config.tcl
+            ucfr --purge dotlrn /etc/dotlrn/dotlrn.sh
+        fi
 		rm -rf /var/lib/dotlrn
 		rm -f /etc/aolserver4/conf.d/dotlrn.tcl /etc/aolserver4/conf.d/dotlrn.sh
                 rm -rf /var/log/aolserver4/dotlrn




More information about the Pkg-tcltk-commits mailing list