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

index 2655420ddd3573cc34f3d9603638a2fe283eedaa..b91d0fe1eda365b301c9087c432eff8f287c996e 100644 (file)
@@ -139,7 +139,9 @@ xfconf_pkg_postinst() {
        debug-print-function ${FUNCNAME} "$@"
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
-       gnome2_icon_cache_update
+       if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
+               gnome2_icon_cache_update
+       fi
 }
 
 # @FUNCTION: xfconf_pkg_postrm