commit: 54ac2df4df2d97a68b369ed94c4e623350315a6e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 10:42:55 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 23:11:06 2017 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=54ac2df4
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 38b0fcda90..102a41545a 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