From: Mikle Kolyada Date: Sun, 29 Sep 2019 18:12:53 +0000 (+0300) Subject: media-sound/mpd: call xdg X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cf9c5635271dade94c184e7b720ced62c3d77db0;p=gentoo.git media-sound/mpd: call xdg Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- diff --git a/media-sound/mpd/mpd-0.21.14.ebuild b/media-sound/mpd/mpd-0.21.14.ebuild index c886ec4ed037..16b37d262a4f 100644 --- a/media-sound/mpd/mpd-0.21.14.ebuild +++ b/media-sound/mpd/mpd-0.21.14.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit flag-o-matic linux-info meson systemd user +inherit flag-o-matic linux-info meson systemd user xdg-utils DESCRIPTION="The Music Player Daemon (mpd)" HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" @@ -291,4 +291,9 @@ src_install() { pkg_postinst() { # also change the homedir if the user has existed before usermod -d "/var/lib/mpd" mpd || die "usermod failed" + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update } diff --git a/media-sound/mpd/mpd-0.21.15.ebuild b/media-sound/mpd/mpd-0.21.15.ebuild index 984310bc5363..1d1dabe992f5 100644 --- a/media-sound/mpd/mpd-0.21.15.ebuild +++ b/media-sound/mpd/mpd-0.21.15.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit flag-o-matic linux-info meson systemd user +inherit flag-o-matic linux-info meson systemd user xdg-utils DESCRIPTION="The Music Player Daemon (mpd)" HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" @@ -291,4 +291,9 @@ src_install() { pkg_postinst() { # also change the homedir if the user has existed before usermod -d "/var/lib/mpd" mpd || die "usermod failed" + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update }