Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/
Date: Wed, 27 Dec 2017 11:56:38
Message-Id: 1514375772.c82da1d4dfcc319e319b6ed532b0be3e3fed36b6.leio@gentoo
1 commit: c82da1d4dfcc319e319b6ed532b0be3e3fed36b6
2 Author: Sven Eden <yamakuzure <AT> gmx <DOT> net>
3 AuthorDate: Mon Dec 25 11:06:31 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 27 11:56:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82da1d4
7
8 sci-misc/boinc: Update icon cache if icons are installed/removed
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 sci-misc/boinc/boinc-7.8.4.ebuild | 10 ++++++++--
13 1 file changed, 8 insertions(+), 2 deletions(-)
14
15 diff --git a/sci-misc/boinc/boinc-7.8.4.ebuild b/sci-misc/boinc/boinc-7.8.4.ebuild
16 index 3c1024ee2da..b1ddba69aff 100644
17 --- a/sci-misc/boinc/boinc-7.8.4.ebuild
18 +++ b/sci-misc/boinc/boinc-7.8.4.ebuild
19 @@ -136,6 +136,8 @@ src_install() {
20 }
21
22 pkg_preinst() {
23 + gnome2_icon_savelist
24 +
25 enewgroup ${PN}
26 # note this works only for first install so we have to
27 # elog user about the need of being in video group
28 @@ -147,7 +149,9 @@ pkg_preinst() {
29 }
30
31 pkg_postinst() {
32 - gnome2_icon_cache_update
33 + if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
34 + gnome2_icon_cache_update
35 + fi
36
37 elog
38 elog "You are using the source compiled version of boinc."
39 @@ -185,5 +189,7 @@ pkg_postinst() {
40 }
41
42 pkg_postrm() {
43 - gnome2_icon_cache_update
44 + if [[ -n ${GNOME2_ECLASS_ICONS} ]]; then
45 + gnome2_icon_cache_update
46 + fi
47 }