diff options
-rw-r--r-- | www-client/links/ChangeLog | 5 | ||||
-rw-r--r-- | www-client/links/links-2.5.ebuild | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/www-client/links/ChangeLog b/www-client/links/ChangeLog index 239b58d6f469..6049ab9fdcbb 100644 --- a/www-client/links/ChangeLog +++ b/www-client/links/ChangeLog @@ -1,11 +1,12 @@ # ChangeLog for www-client/links # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.149 2012/01/08 11:35:42 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.150 2012/01/08 11:44:56 ssuominen Exp $ 08 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> links-2.5.ebuild: Insert 'MimeType=x-scheme-handler/http;x-scheme-handler/https;' to the .desktop file so Links can be selected as default browser in, for example, - the Xfce desktop environment. + the Xfce desktop environment. Run update-desktop-database (using + fdo-mime.eclass) for this change. 03 Jan 2012; Jeroen Roovers <jer@gentoo.org> links-2.4-r2.ebuild: Stable for HPPA (bug #396519). diff --git a/www-client/links/links-2.5.ebuild b/www-client/links/links-2.5.ebuild index 7626f6bbb9a8..761ff6b37a98 100644 --- a/www-client/links/links-2.5.ebuild +++ b/www-client/links/links-2.5.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v 1.2 2012/01/08 11:35:42 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v 1.3 2012/01/08 11:44:56 ssuominen Exp $ EAPI=4 -inherit autotools eutils +inherit autotools eutils fdo-mime DESCRIPTION="A fast and lightweight web browser running in both graphics and text mode" HOMEPAGE="http://links.twibright.com/" @@ -117,3 +117,6 @@ src_install() { use suid && fperms 4755 /usr/bin/links } + +pkg_postinst() { fdo-mime_desktop_database_update; } +pkg_postrm() { fdo-mime_desktop_database_update; } |