[Pkg-tcltk-commits] r327 - tcl8.4/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Sat Oct 20 02:39:19 UTC 2007


Author: sgolovan-guest
Date: 2007-10-20 02:39:19 +0000 (Sat, 20 Oct 2007)
New Revision: 327

Modified:
   tcl8.4/trunk/debian/changelog
   tcl8.4/trunk/debian/tcl8.4-dev.preinst
Log:
[tcl8.4] Fixed tcl8.4-dev.preinst script

Modified: tcl8.4/trunk/debian/changelog
===================================================================
--- tcl8.4/trunk/debian/changelog	2007-10-20 02:39:13 UTC (rev 326)
+++ tcl8.4/trunk/debian/changelog	2007-10-20 02:39:19 UTC (rev 327)
@@ -1,3 +1,11 @@
+tcl8.4 (8.4.16-3) unstable; urgency=low
+
+  * Fixed tcl8.4-dev.preinst bug in update-alternatives call (ignore return
+    value if tcl.m4 alternative doesn't exist already,
+    closes: #447310, #447311).
+
+ -- Sergei Golovan <sgolovan at debian.org>  Sat, 20 Oct 2007 06:14:00 +0400
+
 tcl8.4 (8.4.16-2) unstable; urgency=low
 
   [ Sergei Golovan ]

Modified: tcl8.4/trunk/debian/tcl8.4-dev.preinst
===================================================================
--- tcl8.4/trunk/debian/tcl8.4-dev.preinst	2007-10-20 02:39:13 UTC (rev 326)
+++ tcl8.4/trunk/debian/tcl8.4-dev.preinst	2007-10-20 02:39:19 UTC (rev 327)
@@ -10,7 +10,7 @@
 if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "8.4.16-2"; then
     update-alternatives --remove tcl.m4 /usr/lib/tcl8.4/tcl.m4
     # We really want to remove this alternative
-    update-alternatives --auto tcl.m4
+    update-alternatives --auto tcl.m4 >/dev/null || true
 fi
 
 #DEBHELPER#




More information about the Pkg-tcltk-commits mailing list