commit:     8d0b5cb79b18937ef0417d5856782da4348c5a8d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 09:53:48 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 09:53:48 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=8d0b5cb7

kde-frameworks/purpose: Add missing xdg_icon_cache_update

Closes: https://bugs.gentoo.org/739538
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/purpose/purpose-9999.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/purpose/purpose-9999.ebuild 
b/kde-frameworks/purpose/purpose-9999.ebuild
index 54ebf66ed9..33f6fb17bf 100644
--- a/kde-frameworks/purpose/purpose-9999.ebuild
+++ b/kde-frameworks/purpose/purpose-9999.ebuild
@@ -7,7 +7,7 @@ ECM_QTHELP="false"
 ECM_TEST="forceoptional"
 PVCUT=$(ver_cut 1-2)
 QTMIN=5.14.2
-inherit ecm kde.org
+inherit ecm kde.org xdg-utils
 
 DESCRIPTION="Library for providing abstractions to get the developer's 
purposes fulfilled"
 LICENSE="LGPL-2.1+"
@@ -48,11 +48,16 @@ src_configure() {
        ecm_src_configure
 }
 
-pkg_postinst(){
+pkg_postinst() {
        ecm_pkg_postinst
+       xdg_icon_cache_update
 
        if ! has_version "kde-misc/kdeconnect[app]" ; then
                elog "Optional runtime dependency:"
                elog "kde-misc/kdeconnect[app] (send through KDE Connect)"
        fi
 }
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to