xfce-extra/xfce4-mount-plugin: Add updating icon cache
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Jul 2018 21:49:22 +0000 (23:49 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Jul 2018 21:53:55 +0000 (23:53 +0200)
xfce-extra/xfce4-mount-plugin/xfce4-mount-plugin-1.1.3.ebuild

index de100e9e7f0f3a30cbc3cc12031586b4d5c5f67a..9e6b4f45b09036500a5ece4a1ff5141261fda196 100644 (file)
@@ -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
+}