commit:     324a74d5cd4e4e33cfe2d11ffcb9d863a96195ce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 11 11:47:57 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 11 11:50:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324a74d5

xfce-extra/xfce4-sensors-plugin: Regen GTK+ icon cache

 .../xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.0.ebuild     | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.0.ebuild 
b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.0.ebuild
index 6b610384329..9c6fafa0d3f 100644
--- a/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.0.ebuild
+++ b/xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.0.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=6
 
+inherit gnome2-utils
+
 DESCRIPTION="A panel plug-in for acpi, lm_sensors and hddtemp sensors"
 HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin";
 SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
@@ -53,3 +55,11 @@ src_install() {
        einstalldocs
        find "${D}" -name '*.la' -delete || die
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to