summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-07-23 20:49:10 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-07-23 20:49:10 -0500
commit3341669a9bc005accafbdecfe973e5630547c869 (patch)
treed06c5945fc86a74f4ff04d25b639efae2e2e917c /app-admin/puppet/puppet-3.8.7-r1.ebuild
parentdev-python/keystonemiddleware: examples are banned in eapi6 (diff)
downloadgentoo-3341669a9bc005accafbdecfe973e5630547c869.tar.gz
gentoo-3341669a9bc005accafbdecfe973e5630547c869.tar.bz2
gentoo-3341669a9bc005accafbdecfe973e5630547c869.zip
app-admin/puppet: fix REPLACING_VERSIONS use
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-admin/puppet/puppet-3.8.7-r1.ebuild')
-rw-r--r--app-admin/puppet/puppet-3.8.7-r1.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/app-admin/puppet/puppet-3.8.7-r1.ebuild b/app-admin/puppet/puppet-3.8.7-r1.ebuild
index abc9fe39e986..f7e608e5bbfa 100644
--- a/app-admin/puppet/puppet-3.8.7-r1.ebuild
+++ b/app-admin/puppet/puppet-3.8.7-r1.ebuild
@@ -176,12 +176,15 @@ pkg_postinst() {
elog
fi
- if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
- elog
- elog "If you're upgrading from 2.x then we strongly suggest you to read:"
- elog "http://docs.puppetlabs.com/guides/upgrading.html"
- elog
- fi
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if [ "$(get_major_version $v)" = "2" ]; then
+ elog
+ elog "If you're upgrading from 2.x then we strongly suggest you to read:"
+ elog "http://docs.puppetlabs.com/guides/upgrading.html"
+ elog
+ fi
+ done
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen