From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2F00138334 for ; Mon, 19 Nov 2018 19:13:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD632E08A2; Mon, 19 Nov 2018 19:13:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8A1AEE08A2 for ; Mon, 19 Nov 2018 19:13:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 40FDA335C3D for ; Mon, 19 Nov 2018 19:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F13923CF for ; Mon, 19 Nov 2018 19:12:58 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1542654721.61b059cc9b30057533e7ede52b1bc8e2dda5b38b.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/puppet/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/puppet/puppet-5.5.8.ebuild X-VCS-Directories: app-admin/puppet/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: 61b059cc9b30057533e7ede52b1bc8e2dda5b38b X-VCS-Branch: master Date: Mon, 19 Nov 2018 19:12:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ea9ecf76-8167-4b76-8e9f-f53837d6a479 X-Archives-Hash: df3bdf75c05080e4d9a8f1578d3f6491 commit: 61b059cc9b30057533e7ede52b1bc8e2dda5b38b Author: Matthew Thode gentoo org> AuthorDate: Mon Nov 19 19:12:01 2018 +0000 Commit: Matthew Thode gentoo 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 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"