commit:     77ed8b0fbb8b9fa1d17766f167474eb21ddfb314
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 05:15:33 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 05:15:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ed8b0f

net-misc/cmst: update icon cache

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-misc/cmst/cmst-2017.03.18.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/net-misc/cmst/cmst-2017.03.18.ebuild 
b/net-misc/cmst/cmst-2017.03.18.ebuild
index 36d6de0f600..9eea2f71f8f 100644
--- a/net-misc/cmst/cmst-2017.03.18.ebuild
+++ b/net-misc/cmst/cmst-2017.03.18.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit qmake-utils
+inherit gnome2-utils qmake-utils
 
 DESCRIPTION="Qt GUI for Connman with system tray icon"
 HOMEPAGE="https://github.com/andrew-bibb/cmst";
@@ -34,3 +34,15 @@ src_install() {
        emake INSTALL_ROOT="${D}" install
        rm -r "${D}"/usr/share/licenses || die
 }
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to