commit: c96163ab39496d4d18cf4ea691982e0ed52552f7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 17 10:42:58 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 17:57:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c96163ab
xfconf.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils
eclass/xfconf.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index 2655420ddd3..b91d0fe1eda 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