diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-12-25 12:06:31 +0100 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2017-12-27 13:56:12 +0200 |
commit | c82da1d4dfcc319e319b6ed532b0be3e3fed36b6 (patch) | |
tree | dc40a3e7b970a839f0f1ce8545c08efcb04d4824 /sci-misc | |
parent | sci-misc/boinc: Remove xlocale.h usage, fixes bug 639108 (diff) | |
download | gentoo-c82da1d4dfcc319e319b6ed532b0be3e3fed36b6.tar.gz gentoo-c82da1d4dfcc319e319b6ed532b0be3e3fed36b6.tar.bz2 gentoo-c82da1d4dfcc319e319b6ed532b0be3e3fed36b6.zip |
sci-misc/boinc: Update icon cache if icons are installed/removed
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/boinc/boinc-7.8.4.ebuild | 10 |
1 files 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 3c1024ee2da2..b1ddba69aff0 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 } |