summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-17 12:42:51 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-25 19:57:49 +0200
commit8c8898b18186ee1f793575d675ddf65bf17807b0 (patch)
treecdfaa7fdde3f967b3f5fb3291d8ee29ff91f43ec /eclass
parentgnome2-utils.eclass: Make gnome2_icon_cache_update update all themes (diff)
downloadgentoo-8c8898b18186ee1f793575d675ddf65bf17807b0.tar.gz
gentoo-8c8898b18186ee1f793575d675ddf65bf17807b0.tar.bz2
gentoo-8c8898b18186ee1f793575d675ddf65bf17807b0.zip
gnome2.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome2.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 8a83297b0959..feb6301221ea 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -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