Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: gnome@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 5/7] xfconf.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils
Date: Mon, 17 Apr 2017 11:10:42
Message-Id: 20170417110747.16196-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/7] gnome2-utils.eclass: Make gnome2_icon_cache_update update all themes by "Michał Górny"
1 ---
2 eclass/xfconf.eclass | 4 +++-
3 1 file changed, 3 insertions(+), 1 deletion(-)
4
5 diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
6 index 2655420ddd35..b91d0fe1eda3 100644
7 --- a/eclass/xfconf.eclass
8 +++ b/eclass/xfconf.eclass
9 @@ -139,7 +139,9 @@ xfconf_pkg_postinst() {
10 debug-print-function ${FUNCNAME} "$@"
11 fdo-mime_desktop_database_update
12 fdo-mime_mime_database_update
13 - gnome2_icon_cache_update
14 + if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
15 + gnome2_icon_cache_update
16 + fi
17 }
18
19 # @FUNCTION: xfconf_pkg_postrm
20 --
21 2.12.2