summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/paraview')
-rw-r--r--sci-visualization/paraview/paraview-5.5.2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 8f9a79d3dae5..801dd7dea96d 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -4,7 +4,7 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils desktop eapi7-ver python-single-r1 toolchain-funcs
+inherit cmake-utils desktop eapi7-ver gnome2-utils python-single-r1 toolchain-funcs
MAIN_PV=$(ver_cut 0-1)
MAJOR_PV=$(ver_cut 1-2)
@@ -271,3 +271,11 @@ src_install() {
use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}