commit:     352af7764e6017fa93ce648c186ebb8cf6db5aa8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 14 16:33:31 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 14 16:34:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352af776

xfce-base/garcon: Update icon cache

Closes: https://bugs.gentoo.org/760015
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

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

diff --git a/xfce-base/garcon/garcon-0.7.3.ebuild 
b/xfce-base/garcon/garcon-0.7.3.ebuild
index 1f205f520f8..6433ea9ccb5 100644
--- a/xfce-base/garcon/garcon-0.7.3.ebuild
+++ b/xfce-base/garcon/garcon-0.7.3.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit xdg-utils
+
 DESCRIPTION="Xfce's freedesktop.org specification compatible menu 
implementation library"
 HOMEPAGE="https://docs.xfce.org/xfce/exo/start";
 SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2";
@@ -39,3 +41,11 @@ src_install() {
 
        find "${D}" -name '*.la' -delete || die
 }
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to