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 B12A6138AE9 for ; Wed, 27 Dec 2017 11:56:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9D1AE0D4C; Wed, 27 Dec 2017 11:56:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B67DCE0D12 for ; Wed, 27 Dec 2017 11:56:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B75933BEF4 for ; Wed, 27 Dec 2017 11:56:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EC60AF2B for ; Wed, 27 Dec 2017 11:56:35 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1514375772.c82da1d4dfcc319e319b6ed532b0be3e3fed36b6.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/boinc/boinc-7.8.4.ebuild X-VCS-Directories: sci-misc/boinc/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: c82da1d4dfcc319e319b6ed532b0be3e3fed36b6 X-VCS-Branch: master Date: Wed, 27 Dec 2017 11:56:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 59fe2616-1fde-4434-b240-63608825ba55 X-Archives-Hash: 41f4ec056c58d1494bb68707bb49f6d4 commit: c82da1d4dfcc319e319b6ed532b0be3e3fed36b6 Author: Sven Eden gmx net> AuthorDate: Mon Dec 25 11:06:31 2017 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Wed Dec 27 11:56:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82da1d4 sci-misc/boinc: Update icon cache if icons are installed/removed Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-misc/boinc/boinc-7.8.4.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild b/sci-misc/boinc/boinc-7.8.4.ebuild index 3c1024ee2da..b1ddba69aff 100644 --- a/sci-misc/boinc/boinc-7.8.4.ebuild +++ b/sci-misc/boinc/boinc-7.8.4.ebuild @@ -136,6 +136,8 @@ src_install() { } pkg_preinst() { + gnome2_icon_savelist + enewgroup ${PN} # note this works only for first install so we have to # elog user about the need of being in video group @@ -147,7 +149,9 @@ pkg_preinst() { } pkg_postinst() { - gnome2_icon_cache_update + if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then + gnome2_icon_cache_update + fi elog elog "You are using the source compiled version of boinc." @@ -185,5 +189,7 @@ pkg_postinst() { } pkg_postrm() { - gnome2_icon_cache_update + if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then + gnome2_icon_cache_update + fi }