commit:     ad63babf63ff665ed97420d9645b3b775a53371c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  5 18:18:19 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  5 18:51:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad63babf

www-plugins/lightspark: Add missing cache updates to -9999

 www-plugins/lightspark/lightspark-9999.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/www-plugins/lightspark/lightspark-9999.ebuild 
b/www-plugins/lightspark/lightspark-9999.ebuild
index 09a12ccd261..e85c7575af9 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit cmake-utils git-r3 nsplugins toolchain-funcs
+inherit cmake-utils git-r3 gnome2-utils nsplugins toolchain-funcs xdg-utils
 
 DESCRIPTION="High performance flash player"
 HOMEPAGE="http://lightspark.github.io/";
@@ -76,6 +76,9 @@ src_install() {
 }
 
 pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+
        if use nsplugin && ! has_version www-plugins/gnash; then
                elog "Lightspark now supports gnash fallback for its browser 
plugin."
                elog "Install www-plugins/gnash to take advantage of it."
@@ -87,3 +90,8 @@ pkg_postinst() {
                elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848";
        fi
 }
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}

Reply via email to