diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2009-09-30 12:36:10 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2009-09-30 12:36:10 +0000 |
commit | 475971d0aee6f41826caa6da5d37f5c94cf137e9 (patch) | |
tree | 449c40d56325e745ad0d5a28cf2c5d04f476b08f /www-client/chromium-bin/chromium-bin-9999.ebuild | |
parent | Remove now unnecessary gnome-power-manager blocker, all revisions of it that ... (diff) | |
download | historical-475971d0aee6f41826caa6da5d37f5c94cf137e9.tar.gz historical-475971d0aee6f41826caa6da5d37f5c94cf137e9.tar.bz2 historical-475971d0aee6f41826caa6da5d37f5c94cf137e9.zip |
Fix desktop entry so xdg-open works correctly with chromium as default browser
Package-Manager: portage-2.2_rc42/cvs/Linux x86_64
Diffstat (limited to 'www-client/chromium-bin/chromium-bin-9999.ebuild')
-rw-r--r-- | www-client/chromium-bin/chromium-bin-9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www-client/chromium-bin/chromium-bin-9999.ebuild b/www-client/chromium-bin/chromium-bin-9999.ebuild index c8ed234d216a..f1f444f62f29 100644 --- a/www-client/chromium-bin/chromium-bin-9999.ebuild +++ b/www-client/chromium-bin/chromium-bin-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.19 2009/09/22 12:04:33 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.20 2009/09/30 12:34:33 voyageur Exp $ EAPI="2" inherit eutils multilib @@ -77,6 +77,8 @@ src_install() { make_wrapper chromium-bin ./chrome ${CHROMIUM_HOME}/chrome-linux ${CHROMIUM_HOME}/lib:${CHROMIUM_HOME}/chrome-linux newicon "${FILESDIR}"/chromium.png ${PN}.png make_desktop_entry chromium-bin "Chromium (bin)" ${PN} "Network;WebBrowser" + sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \ + || die "desktop file sed failed" } pkg_postinst() { |