Skip to content

Commit

Permalink
dev-util/buildbot: Version migration elog message not displayed on fr…
Browse files Browse the repository at this point in the history
…esh install.

Hides the elog notification about migrating to a new version of buildbot, if
there was no previous version installed.

Closes: gentoo#1027

Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
seifertm authored and monsieurp committed Mar 30, 2016
1 parent 0462b33 commit fb4cb85
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions dev-util/buildbot/buildbot-0.8.12-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,13 @@ src_install() {

pkg_postinst() {
readme.gentoo_print_elog
elog
elog "Upstream recommends the following when upgrading:"
elog "Each time you install a new version of Buildbot, you should run the"
elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
elog "This will add files and fix (or at least detect) incompatibilities between"
elog "your old config and the new code."

if [[ -n ${REPLACING_VERSIONS} ]]; then
elog
elog "Upstream recommends the following when upgrading:"
elog "Each time you install a new version of Buildbot, you should run the"
elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
elog "This will add files and fix (or at least detect) incompatibilities between"
elog "your old config and the new code."
fi
}

0 comments on commit fb4cb85

Please sign in to comment.