diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-07 15:46:21 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-07 15:51:01 +0100 |
commit | 5ec0b11c423fcd355d3057c39b4cdcb67cb993ea (patch) | |
tree | 99a26813d0bf7c9db2fe62ba54edf32f395fbd4f /app-text/krop | |
parent | app-text/krop: Fix SRC_URI (diff) | |
download | gentoo-5ec0b11c423fcd355d3057c39b4cdcb67cb993ea.tar.gz gentoo-5ec0b11c423fcd355d3057c39b4cdcb67cb993ea.tar.bz2 gentoo-5ec0b11c423fcd355d3057c39b4cdcb67cb993ea.zip |
app-text/krop: Run xdg_{desktop,mimeinfo}_database_update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text/krop')
-rw-r--r-- | app-text/krop/krop-0.4.13.5.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app-text/krop/krop-0.4.13.5.ebuild b/app-text/krop/krop-0.4.13.5.ebuild index f2542d1c5965..108c5f32c840 100644 --- a/app-text/krop/krop-0.4.13.5.ebuild +++ b/app-text/krop/krop-0.4.13.5.ebuild @@ -4,7 +4,7 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -inherit eutils distutils-r1 +inherit eutils distutils-r1 xdg-utils DESCRIPTION="A tool to crop PDF files" HOMEPAGE="http://arminstraub.com/software/krop" @@ -25,3 +25,13 @@ src_install() { distutils-r1_src_install domenu "${WORKDIR}/${P}/${PN}.desktop" } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |