[Pkg-tcltk-commits] r326 - tcl8.3/trunk/debian

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


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

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

Modified: tcl8.3/trunk/debian/changelog
===================================================================
--- tcl8.3/trunk/debian/changelog	2007-10-19 17:00:03 UTC (rev 325)
+++ tcl8.3/trunk/debian/changelog	2007-10-20 02:39:13 UTC (rev 326)
@@ -1,3 +1,10 @@
+tcl8.3 (8.3.5-9) unstable; urgency=low
+
+  * Fixed tcl8.3-dev.preinst bug in update-alternatives call (ignore return
+    value if tcl.m4 alternative doesn't exist already).
+
+ -- Sergei Golovan <sgolovan at debian.org>  Sat, 20 Oct 2007 06:13:52 +0400
+
 tcl8.3 (8.3.5-8) unstable; urgency=low
 
   [ Sergei Golovan ]

Modified: tcl8.3/trunk/debian/tcl8.3-dev.preinst
===================================================================
--- tcl8.3/trunk/debian/tcl8.3-dev.preinst	2007-10-19 17:00:03 UTC (rev 325)
+++ tcl8.3/trunk/debian/tcl8.3-dev.preinst	2007-10-20 02:39:13 UTC (rev 326)
@@ -10,7 +10,7 @@
 if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "8.3.5-8"; then
     update-alternatives --remove tcl.m4 /usr/lib/tcl8.3/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