summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Smith <matt@offtopica.uk>2021-04-29 10:49:53 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-04-30 16:04:56 +0200
commit864872968ac42bc9adb54ded9af595c64b1f7121 (patch)
tree26c49112020825911de7fb9594ea010d851c5658 /media-sound/picard
parentnet-misc/wget: remove libressl support (diff)
downloadgentoo-864872968ac42bc9adb54ded9af595c64b1f7121.tar.gz
gentoo-864872968ac42bc9adb54ded9af595c64b1f7121.tar.bz2
gentoo-864872968ac42bc9adb54ded9af595c64b1f7121.zip
media-sound/picard: Only show elog messages on update
Closes: https://bugs.gentoo.org/786729 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Matt Smith <matt@offtopica.uk> Closes: https://github.com/gentoo/gentoo/pull/20589 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/picard')
-rw-r--r--media-sound/picard/picard-2.4.2.ebuild10
-rw-r--r--media-sound/picard/picard-9999.ebuild10
2 files changed, 12 insertions, 8 deletions
diff --git a/media-sound/picard/picard-2.4.2.ebuild b/media-sound/picard/picard-2.4.2.ebuild
index 18c76e92214a..d866635fefb1 100644
--- a/media-sound/picard/picard-2.4.2.ebuild
+++ b/media-sound/picard/picard-2.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -64,7 +64,9 @@ python_install() {
python_install_all() {
distutils-r1_python_install_all
- elog "If you are upgrading Picard and it does not start, try removing"
- elog "Picard's settings:"
- elog " rm ~/.config/MusicBrainz/Picard.conf"
+ if [[ -n "${REPLACING_VERSIONS}" ]]; then
+ elog "If you are upgrading Picard and it does not start, try removing"
+ elog "Picard's settings:"
+ elog " rm ~/.config/MusicBrainz/Picard.conf"
+ fi
}
diff --git a/media-sound/picard/picard-9999.ebuild b/media-sound/picard/picard-9999.ebuild
index 511feea537f9..d95b1702956b 100644
--- a/media-sound/picard/picard-9999.ebuild
+++ b/media-sound/picard/picard-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -64,7 +64,9 @@ python_install() {
python_install_all() {
distutils-r1_python_install_all
- elog "If you are upgrading Picard and it does not start, try removing"
- elog "Picard's settings:"
- elog " rm ~/.config/MusicBrainz/Picard.conf"
+ if [[ -n "${REPLACING_VERSIONS}" ]]; then
+ elog "If you are upgrading Picard and it does not start, try removing"
+ elog "Picard's settings:"
+ elog " rm ~/.config/MusicBrainz/Picard.conf"
+ fi
}