summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-17 12:42:58 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-25 19:57:51 +0200
commitc96163ab39496d4d18cf4ea691982e0ed52552f7 (patch)
treea3f4a4cee7525bd474dfe21ac895f175fa90e031 /eclass/xfconf.eclass
parentkde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils (diff)
downloadgentoo-c96163ab39496d4d18cf4ea691982e0ed52552f7.tar.gz
gentoo-c96163ab39496d4d18cf4ea691982e0ed52552f7.tar.bz2
gentoo-c96163ab39496d4d18cf4ea691982e0ed52552f7.zip
xfconf.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils
Diffstat (limited to 'eclass/xfconf.eclass')
-rw-r--r--eclass/xfconf.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index 2655420ddd35..b91d0fe1eda3 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -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