commit: 61b059cc9b30057533e7ede52b1bc8e2dda5b38b Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> AuthorDate: Mon Nov 19 19:12:01 2018 +0000 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> CommitDate: Mon Nov 19 19:12:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61b059cc
app-admin/puppet: fix post_install for 5.7.7 Fixes: https://bugs.gentoo.org/671128 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> app-admin/puppet/puppet-5.5.8.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app-admin/puppet/puppet-5.5.8.ebuild b/app-admin/puppet/puppet-5.5.8.ebuild index fb4ab3b1efc..9c7be05b33a 100644 --- a/app-admin/puppet/puppet-5.5.8.ebuild +++ b/app-admin/puppet/puppet-5.5.8.ebuild @@ -134,8 +134,7 @@ pkg_postinst() { elog for v in ${REPLACING_VERSIONS}; do - v=$(ver_cut "4.0.0" "$v") - if [ ver_test "$v" -eq "4" ]; then + if [ "$(ver_cut 1 "$v")" -eq "4" ]; then elog elog "Please see the following url for the release notes for puppet-5" elog "https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x"
