From 77ed8b0fbb8b9fa1d17766f167474eb21ddfb314 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Tue, 25 Apr 2017 15:15:33 +1000 Subject: [PATCH] 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 36d6de0f600e..9eea2f71f8f3 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 +} -- 2.26.2