commit:     16e31fc56c83f2f3f2156101956f8f98af146868
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 25 21:13:50 2018 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Tue Sep 25 21:13:50 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=16e31fc5

x11-misc/pcmanfm-qt: sync with the main Gentoo repo tree

Call 'xdg_desktop_database_update' during 'pkg_postinst'
and 'pkg_postrm'.

Package-Manager: Portage-2.3.50, Repoman-2.3.11

 x11-misc/pcmanfm-qt/pcmanfm-qt-9999.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/x11-misc/pcmanfm-qt/pcmanfm-qt-9999.ebuild 
b/x11-misc/pcmanfm-qt/pcmanfm-qt-9999.ebuild
index e3344d87..3a307e99 100644
--- a/x11-misc/pcmanfm-qt/pcmanfm-qt-9999.ebuild
+++ b/x11-misc/pcmanfm-qt/pcmanfm-qt-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils eapi7-ver
+inherit cmake-utils eapi7-ver xdg-utils
 
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
@@ -45,3 +45,11 @@ src_configure() {
        )
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to