1 |
commit: fb4cb85a147a5325b874f769194b66cc4f116c4e |
2 |
Author: Michael Seifert <mseifert <AT> error-reports <DOT> org> |
3 |
AuthorDate: Tue Mar 22 17:38:04 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 30 12:03:27 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4cb85a |
7 |
|
8 |
dev-util/buildbot: Version migration elog message not displayed on fresh install. |
9 |
|
10 |
Hides the elog notification about migrating to a new version of buildbot, if |
11 |
there was no previous version installed. |
12 |
|
13 |
Closes: https://github.com/gentoo/gentoo/pull/1027 |
14 |
|
15 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
16 |
|
17 |
dev-util/buildbot/buildbot-0.8.12-r2.ebuild | 15 +++++++++------ |
18 |
1 file changed, 9 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/dev-util/buildbot/buildbot-0.8.12-r2.ebuild b/dev-util/buildbot/buildbot-0.8.12-r2.ebuild |
21 |
index c20323b..f7304091 100644 |
22 |
--- a/dev-util/buildbot/buildbot-0.8.12-r2.ebuild |
23 |
+++ b/dev-util/buildbot/buildbot-0.8.12-r2.ebuild |
24 |
@@ -91,10 +91,13 @@ src_install() { |
25 |
|
26 |
pkg_postinst() { |
27 |
readme.gentoo_print_elog |
28 |
- elog |
29 |
- elog "Upstream recommends the following when upgrading:" |
30 |
- elog "Each time you install a new version of Buildbot, you should run the" |
31 |
- elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters." |
32 |
- elog "This will add files and fix (or at least detect) incompatibilities between" |
33 |
- elog "your old config and the new code." |
34 |
+ |
35 |
+ if [[ -n ${REPLACING_VERSIONS} ]]; then |
36 |
+ elog |
37 |
+ elog "Upstream recommends the following when upgrading:" |
38 |
+ elog "Each time you install a new version of Buildbot, you should run the" |
39 |
+ elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters." |
40 |
+ elog "This will add files and fix (or at least detect) incompatibilities between" |
41 |
+ elog "your old config and the new code." |
42 |
+ fi |
43 |
} |