app-containers/distrobox: do not use custom xdg function

Bug: https://bugs.gentoo.org/957724
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-11-07 14:11:08 +01:00
parent e8de8a6f4d
commit 5f4158a1df
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 16 additions and 18 deletions

View File

@ -31,13 +31,6 @@ RDEPEND="
)
"
_gui_cache_update() {
if use gui ; then
xdg_icon_cache_update
xdg_desktop_database_update
fi
}
src_install() {
sh ./install --prefix "${ED}/usr" || die "${PN} install script failed"
@ -51,9 +44,15 @@ src_install() {
}
pkg_postinst() {
_gui_cache_update
if use gui ; then
xdg_icon_cache_update
xdg_desktop_database_update
fi
}
pkg_postrm() {
_gui_cache_update
if use gui ; then
xdg_icon_cache_update
xdg_desktop_database_update
fi
}

View File

@ -31,13 +31,6 @@ RDEPEND="
)
"
_gui_cache_update() {
if use gui ; then
xdg_icon_cache_update
xdg_desktop_database_update
fi
}
src_install() {
sh ./install --prefix "${ED}/usr" || die "${PN} install script failed"
@ -51,9 +44,15 @@ src_install() {
}
pkg_postinst() {
_gui_cache_update
if use gui ; then
xdg_icon_cache_update
xdg_desktop_database_update
fi
}
pkg_postrm() {
_gui_cache_update
if use gui ; then
xdg_icon_cache_update
xdg_desktop_database_update
fi
}