From: Michał Górny Date: Fri, 13 Jul 2018 21:49:22 +0000 (+0200) Subject: xfce-extra/xfce4-mount-plugin: Add updating icon cache X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c7561f991b8910d4c831b3bfb2292984a4c5ec48;p=gentoo.git xfce-extra/xfce4-mount-plugin: Add updating icon cache --- diff --git a/xfce-extra/xfce4-mount-plugin/xfce4-mount-plugin-1.1.3.ebuild b/xfce-extra/xfce4-mount-plugin/xfce4-mount-plugin-1.1.3.ebuild index de100e9e7f0f..9e6b4f45b090 100644 --- a/xfce-extra/xfce4-mount-plugin/xfce4-mount-plugin-1.1.3.ebuild +++ b/xfce-extra/xfce4-mount-plugin/xfce4-mount-plugin-1.1.3.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit gnome2-utils + DESCRIPTION="An mount plug-in for the Xfce panel" HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin" SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" @@ -23,3 +25,11 @@ src_install() { default find "${D}" -name '*.la' -delete || die } + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}