r21571 - in /desktop/unstable/epiphany-browser/debian: changelog epiphany-browser.preinst
kov at users.alioth.debian.org
kov at users.alioth.debian.org
Fri Sep 25 11:34:43 UTC 2009
Author: kov
Date: Fri Sep 25 11:34:43 2009
New Revision: 21571
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21571
Log:
Remove gecko and webkit alternatives early to avoid keeping the alternative
Added:
desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst
Modified:
desktop/unstable/epiphany-browser/debian/changelog
Modified: desktop/unstable/epiphany-browser/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/epiphany-browser/debian/changelog?rev=21571&op=diff
==============================================================================
--- desktop/unstable/epiphany-browser/debian/changelog [utf-8] (original)
+++ desktop/unstable/epiphany-browser/debian/changelog [utf-8] Fri Sep 25 11:34:43 2009
@@ -2,8 +2,11 @@
* debian/control.in:
- epiphany-webkit needs to depend on epiphany-browser, or it's useless
-
- -- Gustavo Noronha Silva <kov at debian.org> Thu, 24 Sep 2009 20:46:21 -0300
+ * debian/epiphany-browser.preinst:
+ - remove gecko and webkit alternatives early to avoid keeping the
+ alternative alive
+
+ -- Gustavo Noronha Silva <kov at debian.org> Fri, 25 Sep 2009 08:34:04 -0300
epiphany-browser (2.28.0-1) unstable; urgency=low
Added: 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=21571&op=file
==============================================================================
--- desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst (added)
+++ desktop/unstable/epiphany-browser/debian/epiphany-browser.preinst [utf-8] Fri Sep 25 11:34:43 2009
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "upgrade" ]; then
+ update-alternatives --remove epiphany-browser /usr/bin/epiphany-gecko
+ update-alternatives --remove epiphany-browser /usr/bin/epiphany-webkit
+fi
+
+#DEBHELPER#
More information about the pkg-gnome-commits
mailing list