From 79993520ea6a94649f9309f7121a513f529a20b8 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Thu, 11 Oct 2018 07:11:44 +0000 Subject: sci-libs/libsigrok: Update icon cache and mime database Signed-off-by: Sven Wegener Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- sci-libs/libsigrok/libsigrok-9999.ebuild | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'sci-libs/libsigrok/libsigrok-9999.ebuild') diff --git a/sci-libs/libsigrok/libsigrok-9999.ebuild b/sci-libs/libsigrok/libsigrok-9999.ebuild index c3a463fbec8a..ef12e1f27924 100644 --- a/sci-libs/libsigrok/libsigrok-9999.ebuild +++ b/sci-libs/libsigrok/libsigrok-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) -inherit eutils python-single-r1 java-pkg-opt-2 +inherit eutils gnome2-utils python-single-r1 java-pkg-opt-2 xdg-utils if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="git://sigrok.org/${PN}" @@ -80,3 +80,13 @@ src_install() { default prune_libtool_files } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} -- cgit v1.2.3-65-gdbad