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

index 8a83297b09598baaae6bc659f0004acc0f1fe4f7..feb6301221eaf92b9c33206e67f887c731d1a5fe 100644 (file)
@@ -337,7 +337,9 @@ gnome2_pkg_preinst() {
 gnome2_pkg_postinst() {
        xdg_pkg_postinst
        gnome2_gconf_install
-       gnome2_icon_cache_update
+       if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
+               gnome2_icon_cache_update
+       fi
        gnome2_schemas_update
        gnome2_scrollkeeper_update
        gnome2_gdk_pixbuf_update