From: Michał Górny Date: Mon, 17 Apr 2017 10:42:55 +0000 (+0200) Subject: kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=609de896747085149f8fe2a830b148cc7c94013f;p=gentoo.git kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 38b0fcda905c..102a41545a66 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -723,7 +723,9 @@ kde5_pkg_preinst() { kde5_pkg_postinst() { debug-print-function ${FUNCNAME} "$@" - gnome2_icon_cache_update + if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then + gnome2_icon_cache_update + fi xdg_pkg_postinst if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then