commit:     934580923de80eb4c24dbbdebe98ff048ddafed5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 14 11:54:52 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 14 11:56:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93458092

xfce-extra/xfce4-xkb-plugin: Fix missing cache update

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild 
b/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild
index cf690e000d06..502e2fbc0692 100644
--- a/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild
+++ b/xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit xdg-utils
+
 DESCRIPTION="XKB layout switching panel plug-in for the Xfce desktop 
environment"
 HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin";
 
SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2";
@@ -49,3 +51,11 @@ src_install() {
        default
        find "${D}" -name '*.la' -delete || die
 }
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to