From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8C3D7139694 for ; Mon, 17 Apr 2017 11:10:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91A6421C0B0; Mon, 17 Apr 2017 11:08:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BFC421C0A5 for ; Mon, 17 Apr 2017 11:08:05 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 6BA9D341674; Mon, 17 Apr 2017 11:08:03 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: gnome@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 5/7] xfconf.eclass: Move GNOME2_ECLASS_ICONS conditional from gnome2-utils Date: Mon, 17 Apr 2017 13:07:45 +0200 Message-Id: <20170417110747.16196-5-mgorny@gentoo.org> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170417110747.16196-1-mgorny@gentoo.org> References: <20170417110747.16196-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 7424f4e3-7763-495e-a6b0-1601fa938705 X-Archives-Hash: 7eaea17a5cbcd686baa11bbd85c23579 --- 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