mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
app-text/krop: Run xdg_{desktop,mimeinfo}_database_update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user