xfce-base/xfwm4: Add missing icon cache update
authorMichał Górny <mgorny@gentoo.org>
Mon, 21 Aug 2017 16:57:54 +0000 (18:57 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 21 Aug 2017 17:37:06 +0000 (19:37 +0200)
xfce-base/xfwm4/xfwm4-4.13.0.ebuild

index ec35259bf1d137cd9c3715396cad38265f74c157..433d1af8fb733174c03f04d1548020616db5e6ce 100644 (file)
@@ -3,6 +3,8 @@
 
 EAPI=6
 
+inherit gnome2-utils
+
 DESCRIPTION="Window manager for the Xfce desktop environment"
 HOMEPAGE="https://www.xfce.org/projects/"
 SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
@@ -57,3 +59,11 @@ src_configure() {
 
        econf "${myconf[@]}"
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}