commit:     428991b7613bfcacd618b3918ff1cd7e00dd7a5b
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Fri Apr 12 15:25:58 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 11:33:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=428991b7

media-sound/lollypop: Print note for gst-plugins only on new install

Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 media-sound/lollypop/lollypop-1.4.39.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-sound/lollypop/lollypop-1.4.39.ebuild 
b/media-sound/lollypop/lollypop-1.4.39.ebuild
index 537a094a4c05..7806e83ea85f 100644
--- a/media-sound/lollypop/lollypop-1.4.39.ebuild
+++ b/media-sound/lollypop/lollypop-1.4.39.ebuild
@@ -64,8 +64,11 @@ src_install() {
 pkg_postinst() {
        xdg_pkg_postinst
        gnome2_schemas_update
-       elog "Remember to install the necessary gst-plugins packages to read 
your audio files."
-       elog "You can also use the gst-plugins-meta pakcage and its USE flags."
+
+       if [[ -z ${REPLACING_VERSIONS} ]]; then
+               elog "Remember to install the necessary gst-plugins packages 
for your audio files."
+               elog "You can also use the gst-plugins-meta package and its USE 
flags."
+       fi
 
        local log_yt_dlp ver
        for ver in ${REPLACING_VERSIONS}; do

Reply via email to