mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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:
parent
e8de8a6f4d
commit
5f4158a1df
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user