summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-04-25 15:15:33 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-04-25 15:15:47 +1000
commit77ed8b0fbb8b9fa1d17766f167474eb21ddfb314 (patch)
tree9c604c35b980860eb2826d26717bc79376f8e558 /net-misc
parentnet-misc/cmst: remove 2016.04.03 (diff)
downloadgentoo-77ed8b0fbb8b9fa1d17766f167474eb21ddfb314.tar.gz
gentoo-77ed8b0fbb8b9fa1d17766f167474eb21ddfb314.tar.bz2
gentoo-77ed8b0fbb8b9fa1d17766f167474eb21ddfb314.zip
net-misc/cmst: update icon cache
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/cmst/cmst-2017.03.18.ebuild14
1 files changed, 13 insertions, 1 deletions
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
+}