From 3a2b0d4e267ecdc010bab1ea0736310f1a7ec809 Mon Sep 17 00:00:00 2001 From: StefanCristian Date: Tue, 12 Dec 2017 00:06:30 +0200 Subject: [PATCH] www-client/qupzilla: enhance with xdg_desktop_database_update Closes: https://bugs.gentoo.org/640776 Closes: https://github.com/gentoo/gentoo/pull/6525 --- www-client/qupzilla/qupzilla-2.1.2.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www-client/qupzilla/qupzilla-2.1.2.ebuild b/www-client/qupzilla/qupzilla-2.1.2.ebuild index c17924c3323c..2ea1fc82dbec 100644 --- a/www-client/qupzilla/qupzilla-2.1.2.ebuild +++ b/www-client/qupzilla/qupzilla-2.1.2.ebuild @@ -12,7 +12,7 @@ PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_ES es_MX es_VE eu_ES PLUGINS_HASH='c332d306c0f6cf645c75eaf198d2fc5e12339e9e' PLUGINS_VERSION='2016.05.02' # if there are no updates, we can use the older archive -inherit l10n qmake-utils +inherit l10n qmake-utils xdg-utils if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -107,3 +107,11 @@ src_install() { emake INSTALL_ROOT="${D}" install einstalldocs } + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} -- 2.26.2