update xdg and icon cache

This commit is contained in:
Robert Förster 2018-04-15 23:43:27 +02:00
parent 6f06f22917
commit 1df40e2f1a
2 changed files with 14 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=6
inherit cmake-utils inherit cmake-utils gnome2-utils xdg-utils
DESCRIPTION="Openbox window manager configuration tool" DESCRIPTION="Openbox window manager configuration tool"
HOMEPAGE="https://lxqt.org/" HOMEPAGE="https://lxqt.org/"
@ -40,3 +40,13 @@ src_configure() {
) )
cmake-utils_src_configure cmake-utils_src_configure
} }
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}

View File

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=6
inherit cmake-utils eapi7-ver gnome2-utils inherit cmake-utils eapi7-ver gnome2-utils xdg-utils
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
inherit git-r3 inherit git-r3
@ -39,9 +39,11 @@ src_configure() {
} }
pkg_postinst() { pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update gnome2_icon_cache_update
} }
pkg_postrm() { pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update gnome2_icon_cache_update
} }