[Pkg-tcltk-commits] r818 - tcl8.5/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Sun Mar 1 08:41:32 UTC 2009


Author: sgolovan-guest
Date: 2009-03-01 08:41:32 +0000 (Sun, 01 Mar 2009)
New Revision: 818

Modified:
   tcl8.5/trunk/debian/changelog
   tcl8.5/trunk/debian/tcl8.5.prerm
Log:
[tcl8.5]
  * Don't remove tclsh alternative in case of package upgrade because the
    manually installed alternative is also removed which isn't desirable.


Modified: tcl8.5/trunk/debian/changelog
===================================================================
--- tcl8.5/trunk/debian/changelog	2009-02-25 14:04:10 UTC (rev 817)
+++ tcl8.5/trunk/debian/changelog	2009-03-01 08:41:32 UTC (rev 818)
@@ -1,8 +1,9 @@
-tcl8.5 (8.5.6-3) UNRELEASED; urgency=low
+tcl8.5 (8.5.6-3) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Don't remove tclsh alternative in case of package upgrade because the
+    manually installed alternative is also removed which isn't desirable.
 
- -- Sergei Golovan <sgolovan at debian.org>  Wed, 25 Feb 2009 17:01:05 +0300
+ -- Sergei Golovan <sgolovan at debian.org>  Sun, 01 Mar 2009 10:35:30 +0300
 
 tcl8.5 (8.5.6-2) unstable; urgency=low
 

Modified: tcl8.5/trunk/debian/tcl8.5.prerm
===================================================================
--- tcl8.5/trunk/debian/tcl8.5.prerm	2009-02-25 14:04:10 UTC (rev 817)
+++ tcl8.5/trunk/debian/tcl8.5.prerm	2009-03-01 08:41:32 UTC (rev 818)
@@ -2,6 +2,8 @@
 
 set -e
 
-update-alternatives --remove tclsh /usr/bin/tclsh8.5
+if [ $1 != "upgrade" ] ; then
+    update-alternatives --remove tclsh /usr/bin/tclsh8.5
+fi
 
 #DEBHELPER#




More information about the Pkg-tcltk-commits mailing list