commit:     c7561f991b8910d4c831b3bfb2292984a4c5ec48
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 13 21:49:22 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 13 21:53:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7561f99

xfce-extra/xfce4-mount-plugin: Add updating icon cache

 xfce-extra/xfce4-mount-plugin/xfce4-mount-plugin-1.1.3.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

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 de100e9e7f0..9e6b4f45b09 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
+}

Reply via email to