1 |
commit: 54ac2df4df2d97a68b369ed94c4e623350315a6e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 17 10:42:55 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 25 23:11:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=54ac2df4 |
7 |
|
8 |
kde5.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils |
9 |
|
10 |
eclass/kde5.eclass | 4 +++- |
11 |
1 file changed, 3 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass |
14 |
index 38b0fcda90..102a41545a 100644 |
15 |
--- a/eclass/kde5.eclass |
16 |
+++ b/eclass/kde5.eclass |
17 |
@@ -723,7 +723,9 @@ kde5_pkg_preinst() { |
18 |
kde5_pkg_postinst() { |
19 |
debug-print-function ${FUNCNAME} "$@" |
20 |
|
21 |
- gnome2_icon_cache_update |
22 |
+ if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then |
23 |
+ gnome2_icon_cache_update |
24 |
+ fi |
25 |
xdg_pkg_postinst |
26 |
|
27 |
if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then |