commit:     397045ca30cd2b111d55c6c2ac9b9e5ca0b7d065
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 16:57:54 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 17:37:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=397045ca

xfce-base/xfwm4: Add missing icon cache update

 xfce-base/xfwm4/xfwm4-4.13.0.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/xfce-base/xfwm4/xfwm4-4.13.0.ebuild 
b/xfce-base/xfwm4/xfwm4-4.13.0.ebuild
index ec35259bf1d..433d1af8fb7 100644
--- a/xfce-base/xfwm4/xfwm4-4.13.0.ebuild
+++ b/xfce-base/xfwm4/xfwm4-4.13.0.ebuild
@@ -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
+}

Reply via email to