summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Guenter <bruce@untroubled.org>2020-09-03 13:52:05 -0600
committerAaron W. Swenson <titanofold@gentoo.org>2020-09-23 22:04:23 -0400
commitb1a430374abeef929ee143250f63a76c94348765 (patch)
treeb439af91b2c7c4c519f01947313e98baa7158793 /app-office
parentapp-office/upwork: Add missing dependencies (diff)
downloadgentoo-b1a430374abeef929ee143250f63a76c94348765.tar.gz
gentoo-b1a430374abeef929ee143250f63a76c94348765.tar.bz2
gentoo-b1a430374abeef929ee143250f63a76c94348765.zip
app-office/upwork: Update the icon cache after install
Closes: https://bugs.gentoo.org/733508 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Bruce Guenter <bruce@untroubled.org> Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/upwork/upwork-5.4.5.1.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/app-office/upwork/upwork-5.4.5.1.ebuild b/app-office/upwork/upwork-5.4.5.1.ebuild
index b539ecea774f..809b4cdce15f 100644
--- a/app-office/upwork/upwork-5.4.5.1.ebuild
+++ b/app-office/upwork/upwork-5.4.5.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit desktop pax-utils rpm
+inherit desktop pax-utils rpm xdg-utils
DESCRIPTION="Project collaboration and tracking software for upwork.com"
HOMEPAGE="https://www.upwork.com/"
@@ -50,3 +50,11 @@ src_install() {
domenu usr/share/applications/upwork.desktop
doicon usr/share/icons/hicolor/128x128/apps/upwork.png
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}