sci-misc/boinc: Update icon cache if icons are installed/removed

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Sven Eden
2017-12-25 12:06:31 +01:00
committed by Mart Raudsepp
parent 36450a88d1
commit c82da1d4df

View File

@@ -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
}