1 |
commit: 864872968ac42bc9adb54ded9af595c64b1f7121 |
2 |
Author: Matt Smith <matt <AT> offtopica <DOT> uk> |
3 |
AuthorDate: Thu Apr 29 09:49:53 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 14:04:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86487296 |
7 |
|
8 |
media-sound/picard: Only show elog messages on update |
9 |
|
10 |
Closes: https://bugs.gentoo.org/786729 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Matt Smith <matt <AT> offtopica.uk> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/20589 |
14 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
15 |
|
16 |
media-sound/picard/picard-2.4.2.ebuild | 10 ++++++---- |
17 |
media-sound/picard/picard-9999.ebuild | 10 ++++++---- |
18 |
2 files changed, 12 insertions(+), 8 deletions(-) |
19 |
|
20 |
diff --git a/media-sound/picard/picard-2.4.2.ebuild b/media-sound/picard/picard-2.4.2.ebuild |
21 |
index 18c76e92214..d866635fefb 100644 |
22 |
--- a/media-sound/picard/picard-2.4.2.ebuild |
23 |
+++ b/media-sound/picard/picard-2.4.2.ebuild |
24 |
@@ -1,4 +1,4 @@ |
25 |
-# Copyright 1999-2020 Gentoo Authors |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
EAPI=7 |
30 |
@@ -64,7 +64,9 @@ python_install() { |
31 |
python_install_all() { |
32 |
distutils-r1_python_install_all |
33 |
|
34 |
- elog "If you are upgrading Picard and it does not start, try removing" |
35 |
- elog "Picard's settings:" |
36 |
- elog " rm ~/.config/MusicBrainz/Picard.conf" |
37 |
+ if [[ -n "${REPLACING_VERSIONS}" ]]; then |
38 |
+ elog "If you are upgrading Picard and it does not start, try removing" |
39 |
+ elog "Picard's settings:" |
40 |
+ elog " rm ~/.config/MusicBrainz/Picard.conf" |
41 |
+ fi |
42 |
} |
43 |
|
44 |
diff --git a/media-sound/picard/picard-9999.ebuild b/media-sound/picard/picard-9999.ebuild |
45 |
index 511feea537f..d95b1702956 100644 |
46 |
--- a/media-sound/picard/picard-9999.ebuild |
47 |
+++ b/media-sound/picard/picard-9999.ebuild |
48 |
@@ -1,4 +1,4 @@ |
49 |
-# Copyright 1999-2020 Gentoo Authors |
50 |
+# Copyright 1999-2021 Gentoo Authors |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
|
53 |
EAPI=7 |
54 |
@@ -64,7 +64,9 @@ python_install() { |
55 |
python_install_all() { |
56 |
distutils-r1_python_install_all |
57 |
|
58 |
- elog "If you are upgrading Picard and it does not start, try removing" |
59 |
- elog "Picard's settings:" |
60 |
- elog " rm ~/.config/MusicBrainz/Picard.conf" |
61 |
+ if [[ -n "${REPLACING_VERSIONS}" ]]; then |
62 |
+ elog "If you are upgrading Picard and it does not start, try removing" |
63 |
+ elog "Picard's settings:" |
64 |
+ elog " rm ~/.config/MusicBrainz/Picard.conf" |
65 |
+ fi |
66 |
} |