r21572 - /desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst
kov at users.alioth.debian.org
kov at users.alioth.debian.org
Fri Sep 25 11:39:09 UTC 2009
Author: kov
Date: Fri Sep 25 11:39:09 2009
New Revision: 21572
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21572
Log:
Call update-alternatives with --remove-all, and only for upgrades from << 2.28.0-2, thanks Joss
Modified:
desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst
Modified: desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst?rev=21572&op=diff
==============================================================================
--- desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst [utf-8] (original)
+++ desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst [utf-8] Fri Sep 25 11:39:09 2009
@@ -2,9 +2,8 @@
set -e
-if [ "$1" = "upgrade" ]; then
- update-alternatives --remove epiphany-browser /usr/bin/epiphany-gecko
- update-alternatives --remove epiphany-browser /usr/bin/epiphany-webkit
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 2.28.0-2; then
+ update-alternatives --remove-all epiphany-browser
fi
#DEBHELPER#
More information about the pkg-gnome-commits
mailing list