xfce-extra/xfce4-sensors-plugin: Regen GTK+ icon cache
authorMichał Górny <mgorny@gentoo.org>
Fri, 11 May 2018 11:47:57 +0000 (13:47 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 11 May 2018 11:50:55 +0000 (13:50 +0200)
xfce-extra/xfce4-sensors-plugin/xfce4-sensors-plugin-1.3.0.ebuild

index 6b6103843299f65cac8c07bf8805fb01fb6753d4..9c6fafa0d3f9827d163020c135e51d200958d8fd 100644 (file)
@@ -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
+}