commit: 609de896747085149f8fe2a830b148cc7c94013f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 10:42:55 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 17:57:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=609de896
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 38b0fcda905..102a41545a6 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