summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-14 13:54:52 +0200
committerMichał Górny <mgorny@gentoo.org>2022-07-14 13:56:06 +0200
commit934580923de80eb4c24dbbdebe98ff048ddafed5 (patch)
tree5e3229e6f561bd3b802bebe44aa5cd0b689e3dcd /xfce-extra/xfce4-xkb-plugin
parentgnustep-base/gnustep-base: fix automagic iconv dep (diff)
downloadgentoo-934580923de80eb4c24dbbdebe98ff048ddafed5.tar.gz
gentoo-934580923de80eb4c24dbbdebe98ff048ddafed5.tar.bz2
gentoo-934580923de80eb4c24dbbdebe98ff048ddafed5.zip
xfce-extra/xfce4-xkb-plugin: Fix missing cache update
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra/xfce4-xkb-plugin')
-rw-r--r--xfce-extra/xfce4-xkb-plugin/xfce4-xkb-plugin-0.8.3.ebuild10
1 files changed, 10 insertions, 0 deletions
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
+}