summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild b/app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild
index bdd9e17e7c6f..bd14104c678d 100644
--- a/app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild
+++ b/app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit cmake-utils flag-o-matic virtualx
+inherit cmake-utils flag-o-matic gnome2-utils virtualx xdg-utils
DESCRIPTION="Personal finance manager by KDE"
HOMEPAGE="https://kmymoney.org/"
@@ -145,3 +145,15 @@ src_install() {
[[ -d ${ED%/}/usr/share/doc/HTML ]] &&
docompress -x /usr/share/doc/HTML
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}