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

index 999c8a05fee2a1df8303f6c0e3a16be2a26b4a60..97f4dfd4eda954d5e37dbddcdc5d5cdfb3a87ae5 100644 (file)
@@ -907,7 +907,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