From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25484138334 for ; Sun, 29 Sep 2019 18:13:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48E58E0841; Sun, 29 Sep 2019 18:13:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2A9FAE0841 for ; Sun, 29 Sep 2019 18:13:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B195534B6C2 for ; Sun, 29 Sep 2019 18:13:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B70BF7FF for ; Sun, 29 Sep 2019 18:13:31 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1569780773.cf9c5635271dade94c184e7b720ced62c3d77db0.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/mpd/mpd-0.21.14.ebuild media-sound/mpd/mpd-0.21.15.ebuild X-VCS-Directories: media-sound/mpd/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: cf9c5635271dade94c184e7b720ced62c3d77db0 X-VCS-Branch: master Date: Sun, 29 Sep 2019 18:13:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a20fbcb1-ccad-4d3f-ae65-6c0cf1cd6fd3 X-Archives-Hash: 80ceaae9af74c7bdd18184db176e4502 commit: cf9c5635271dade94c184e7b720ced62c3d77db0 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Sep 29 18:12:53 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Sep 29 18:12:53 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf9c5635 media-sound/mpd: call xdg Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> media-sound/mpd/mpd-0.21.14.ebuild | 7 ++++++- media-sound/mpd/mpd-0.21.15.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/media-sound/mpd/mpd-0.21.14.ebuild b/media-sound/mpd/mpd-0.21.14.ebuild index c886ec4ed03..16b37d262a4 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 984310bc536..1d1dabe992f 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 }