diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-11-16 14:56:27 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-11-16 14:56:50 +0100 |
commit | 145884bd7514ed6e31c02c3685050fccee6f5ba9 (patch) | |
tree | e5d76556b6e5982482259578a20c9d12cacd6509 /x11-misc/nitrogen | |
parent | profiles/arch/alpha: Mask USE=jit for libpcre/libpcre2 (diff) | |
download | gentoo-145884bd7514ed6e31c02c3685050fccee6f5ba9.tar.gz gentoo-145884bd7514ed6e31c02c3685050fccee6f5ba9.tar.bz2 gentoo-145884bd7514ed6e31c02c3685050fccee6f5ba9.zip |
x11-misc/nitrogen: Fix sandbox violation (bug #599720 by Toralf Förster).
Package-Manager: portage-2.3.2
Diffstat (limited to 'x11-misc/nitrogen')
-rw-r--r-- | x11-misc/nitrogen/nitrogen-1.6.0.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild index ef9b9eba61f4..c01c0bc04cc6 100644 --- a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild +++ b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=6 -inherit autotools flag-o-matic +inherit autotools fdo-mime flag-o-matic DESCRIPTION="A background browser and setter for X" HOMEPAGE="http://projects.l3ib.org/nitrogen/" @@ -30,6 +30,8 @@ DEPEND=" src_prepare() { default + sed -i -e '/^UPDATE_DESKTOP/s#=.*#= :#g' data/Makefile.am || die + eautoreconf } @@ -39,3 +41,11 @@ src_configure() { $(use_enable nls) \ $(use_enable xinerama) } + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |