summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2018-11-19 13:12:01 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2018-11-19 13:12:01 -0600
commit61b059cc9b30057533e7ede52b1bc8e2dda5b38b (patch)
treec837d7691ee04312e70711f6ae59e32f8f718938 /app-admin/puppet
parentapp-admin/rasdaemon: bump and install openrc files (diff)
downloadgentoo-61b059cc9b30057533e7ede52b1bc8e2dda5b38b.tar.gz
gentoo-61b059cc9b30057533e7ede52b1bc8e2dda5b38b.tar.bz2
gentoo-61b059cc9b30057533e7ede52b1bc8e2dda5b38b.zip
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@gentoo.org>
Diffstat (limited to 'app-admin/puppet')
-rw-r--r--app-admin/puppet/puppet-5.5.8.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/app-admin/puppet/puppet-5.5.8.ebuild b/app-admin/puppet/puppet-5.5.8.ebuild
index fb4ab3b1efc0..9c7be05b33a2 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"