aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-17 12:42:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-04-26 01:11:06 +0200
commit54ac2df4df2d97a68b369ed94c4e623350315a6e (patch)
tree0c66da8a38bd402820776c629f850d49a9ac6050 /eclass
parentkde-plasma: Remove KDE Plasma 5.9.5 (diff)
downloadkde-54ac2df4df2d97a68b369ed94c4e623350315a6e.tar.gz
kde-54ac2df4df2d97a68b369ed94c4e623350315a6e.tar.bz2
kde-54ac2df4df2d97a68b369ed94c4e623350315a6e.zip
kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils
Diffstat (limited to '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 38b0fcda90..102a41545a 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