summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-01-27 11:56:07 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-01-27 12:01:51 +1100
commit300bc368a0d2aa687ccc92653d79e2831e5773b8 (patch)
treeb4b79c2b6f5241f09b15b4d5628433b956ca8bb5 /app-office/kmymoney
parentgames-arcade/gnome-nibbles: x86 stable (bug #631656) (diff)
downloadgentoo-300bc368a0d2aa687ccc92653d79e2831e5773b8.tar.gz
gentoo-300bc368a0d2aa687ccc92653d79e2831e5773b8.tar.bz2
gentoo-300bc368a0d2aa687ccc92653d79e2831e5773b8.zip
app-office/kmymoney: update XDG caches
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-office/kmymoney')
-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
+}