diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831-r1.ebuild similarity index 88% rename from sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831-r1.ebuild index c13c4b22e5..254bede1f4 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PLOCALES="ca es fr" -inherit desktop flag-o-matic plocale toolchain-funcs xdg +inherit desktop flag-o-matic plocale toolchain-funcs xdg-utils MY_COMMIT=42fef565731411a784101de614a54bff79d1858e MY_PV=$(ver_cut 3 PV/b/B).$(ver_cut 1-3)_$(ver_cut 5-6) @@ -81,3 +81,17 @@ src_install() { "${DESCRIPTION}" fi } + +pkg_postinst() { + if use gtk ; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use gtk ; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +}