r11720 - in /desktop/experimental/gconf2/debian: changelog gconf2.postinst gconf2.prerm

seb128 at users.alioth.debian.org seb128 at users.alioth.debian.org
Thu Jun 28 15:40:58 UTC 2007


Author: seb128
Date: Thu Jun 28 15:40:58 2007
New Revision: 11720

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11720
Log:
don't remove the alternative on upgrade

Modified:
    desktop/experimental/gconf2/debian/changelog
    desktop/experimental/gconf2/debian/gconf2.postinst
    desktop/experimental/gconf2/debian/gconf2.prerm

Modified: desktop/experimental/gconf2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gconf2/debian/changelog?rev=11720&op=diff
==============================================================================
--- desktop/experimental/gconf2/debian/changelog (original)
+++ desktop/experimental/gconf2/debian/changelog Thu Jun 28 15:40:58 2007
@@ -1,3 +1,10 @@
+gconf2 (2.19.1-2) UNRELEASED; urgency=low
+
+  * debian/gconf2.postinst, debian/gconf2.prerm:
+    - don't remove the alternative on upgrade
+
+ -- Sebastien Bacher <seb128 at debian.org>  Thu, 28 Jun 2007 17:39:59 +0200
+
 gconf2 (2.19.1-1) experimental; urgency=low
 
   [ Josselin Mouette ]

Modified: desktop/experimental/gconf2/debian/gconf2.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gconf2/debian/gconf2.postinst?rev=11720&op=diff
==============================================================================
--- desktop/experimental/gconf2/debian/gconf2.postinst (original)
+++ desktop/experimental/gconf2/debian/gconf2.postinst Thu Jun 28 15:40:58 2007
@@ -2,10 +2,12 @@
 
 set -e
 
-update-alternatives \
+if [ "$1" != "upgrade" ]; then
+    update-alternatives \
 	--install /usr/bin/gconftool gconftool /usr/bin/gconftool-2 25 \
 	--slave /usr/share/man/man1/gconftool.1.gz gconftool.1.gz \
 		/usr/share/man/man1/gconftool-2.1.gz
+fi
 
 #DEBHELPER#
 

Modified: desktop/experimental/gconf2/debian/gconf2.prerm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gconf2/debian/gconf2.prerm?rev=11720&op=diff
==============================================================================
--- desktop/experimental/gconf2/debian/gconf2.prerm (original)
+++ desktop/experimental/gconf2/debian/gconf2.prerm Thu Jun 28 15:40:58 2007
@@ -2,6 +2,8 @@
 
 set -e
 
-update-alternatives --remove gconftool /usr/bin/gconftool-2
+if [ "$1" != "upgrade" ]; then
+    update-alternatives --remove gconftool /usr/bin/gconftool-2
+fi
 
 #DEBHELPER#




More information about the pkg-gnome-commits mailing list