mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
sys-apps/lshw: Sync with Gentoo
It's from Gentoo commit 35ddb79c65f58a0df3500057f4171dc8b221809a.
This commit is contained in:
parent
51e18df944
commit
1813fb6a28
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user