diff options
-rw-r--r-- | dev-python/notebook/notebook-6.3.0.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-python/notebook/notebook-6.3.0.ebuild b/dev-python/notebook/notebook-6.3.0.ebuild index 79f3213aac14..9de1aeb1b611 100644 --- a/dev-python/notebook/notebook-6.3.0.ebuild +++ b/dev-python/notebook/notebook-6.3.0.ebuild @@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{7..9} ) PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 +inherit distutils-r1 xdg-utils DESCRIPTION="Jupyter Interactive Notebook" HOMEPAGE="https://jupyter.org" @@ -87,3 +87,13 @@ pkg_preinst() { # remove old mathjax folder if present rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die } + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |