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

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Sun Mar 1 09:15:45 UTC 2009


Author: sgolovan-guest
Date: 2009-03-01 09:15:45 +0000 (Sun, 01 Mar 2009)
New Revision: 822

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


Modified: tcl8.4/trunk/debian/changelog
===================================================================
--- tcl8.4/trunk/debian/changelog	2009-03-01 08:46:02 UTC (rev 821)
+++ tcl8.4/trunk/debian/changelog	2009-03-01 09:15:45 UTC (rev 822)
@@ -1,8 +1,9 @@
-tcl8.4 (8.4.19-3) UNRELEASED; urgency=low
+tcl8.4 (8.4.19-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>  Thu,  1 May 2008 12:25:45 +0400
+ -- Sergei Golovan <sgolovan at debian.org>  Sun, 01 Mar 2009 10:35:09 +0300
 
 tcl8.4 (8.4.19-2) unstable; urgency=low
 

Modified: tcl8.4/trunk/debian/tcl8.4.prerm
===================================================================
--- tcl8.4/trunk/debian/tcl8.4.prerm	2009-03-01 08:46:02 UTC (rev 821)
+++ tcl8.4/trunk/debian/tcl8.4.prerm	2009-03-01 09:15:45 UTC (rev 822)
@@ -2,6 +2,8 @@
 
 set -e
 
-update-alternatives --remove tclsh /usr/bin/tclsh8.4
+if [ $1 != "upgrade" ] ; then
+    update-alternatives --remove tclsh /usr/bin/tclsh8.4
+fi
 
 #DEBHELPER#




More information about the Pkg-tcltk-commits mailing list