sys-apps/hwloc: Update XDG icon cache

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-04-27 12:42:36 +02:00
parent 59c5f8e811
commit 617b4e195f
+9 -1
View File
@@ -3,7 +3,7 @@
EAPI=8
inherit autotools bash-completion-r1 cuda desktop flag-o-matic systemd toolchain-funcs multilib-minimal
inherit autotools bash-completion-r1 cuda desktop flag-o-matic systemd toolchain-funcs xdg-utils multilib-minimal
MY_PV="v$(ver_cut 1-2)"
DESCRIPTION="Displays the hardware topology in convenient formats"
@@ -127,3 +127,11 @@ multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
newicon -s 512 "${DISTDIR}/lstopo.png" ${PN}.png
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}