commit:     ea54daa002c9706490073c2ae33c520d73670838
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 10:18:18 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 10:18:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea54daa0

net-misc/dhcpcd-ui: Revbump to update icon cache

Thanks-to: Drake Donahue <donahue95 <AT> comcast.net>
Bug: https://bugs.gentoo.org/735528
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../{dhcpcd-ui-0.7.7.ebuild => dhcpcd-ui-0.7.7-r1.ebuild}     | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7.ebuild 
b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7-r1.ebuild
similarity index 92%
rename from net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7.ebuild
rename to net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7-r1.ebuild
index 10e3fb26161..8cd78ad55b5 100644
--- a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7.ebuild
+++ b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit systemd xdg
 
 DESCRIPTION="Desktop notification and configuration for dhcpcd"
 HOMEPAGE="https://roy.marples.name/projects/dhcpcd-ui/";
@@ -62,6 +62,13 @@ src_configure() {
 
 src_install() {
        emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
-
        systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service
 }
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to