summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-17 12:42:55 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-25 19:57:50 +0200
commit609de896747085149f8fe2a830b148cc7c94013f (patch)
tree4d5844edc798c562b67390544dd1da78ccbee600 /eclass/kde5.eclass
parentkde4-base.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils (diff)
downloadgentoo-609de896747085149f8fe2a830b148cc7c94013f.tar.gz
gentoo-609de896747085149f8fe2a830b148cc7c94013f.tar.bz2
gentoo-609de896747085149f8fe2a830b148cc7c94013f.zip
kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 38b0fcda905c..102a41545a66 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -723,7 +723,9 @@ kde5_pkg_preinst() {
kde5_pkg_postinst() {
debug-print-function ${FUNCNAME} "$@"
- gnome2_icon_cache_update
+ if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
+ gnome2_icon_cache_update
+ fi
xdg_pkg_postinst
if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then