---
 eclass/xfconf.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
2.12.2


Reply via email to