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