commit:     7d92d160ed9986f23d531c8cbb6b3e95d01f4f00
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 10:42:53 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Apr 26 18:08:24 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7d92d160

kde4-base.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils

 eclass/kde4-base.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 0f750fccfc..47b3770ba4 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -960,7 +960,9 @@ kde4-base_pkg_preinst() {
 kde4-base_pkg_postinst() {
        debug-print-function ${FUNCNAME} "$@"
 
-       gnome2_icon_cache_update
+       if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
+               gnome2_icon_cache_update
+       fi
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
        buildsycoca

Reply via email to