kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils
authorMichał Górny <mgorny@gentoo.org>
Mon, 17 Apr 2017 10:42:55 +0000 (12:42 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 25 Apr 2017 17:57:50 +0000 (19:57 +0200)
eclass/kde5.eclass

index 38b0fcda905c7d31689d61ccd67c91d75cbc28c2..102a41545a667394db3dbc4b50093928ad198258 100644 (file)
@@ -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