mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
sys-apps/hwloc: Update XDG icon cache
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user