From 609de896747085149f8fe2a830b148cc7c94013f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Apr 2017 12:42:55 +0200 Subject: [PATCH] kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils --- eclass/kde5.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.26.2