From: Lars Wendler Date: Thu, 31 Jan 2019 23:10:56 +0000 (+0100) Subject: sys-apps/man-db: Replaced version_is_at_least with ver_test X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=63dbb517cda5ac93a69a484c0444b8c6d3952a91;p=gentoo.git sys-apps/man-db: Replaced version_is_at_least with ver_test Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Lars Wendler --- diff --git a/sys-apps/man-db/man-db-2.8.5.ebuild b/sys-apps/man-db/man-db-2.8.5.ebuild index fc34d010327e..6935f3bcadaf 100644 --- a/sys-apps/man-db/man-db-2.8.5.ebuild +++ b/sys-apps/man-db/man-db-2.8.5.ebuild @@ -92,7 +92,7 @@ pkg_preinst() { local _replacing_version= local _setgid_vuln=0 for _replacing_version in ${REPLACING_VERSIONS}; do - if version_is_at_least '2.7.6.1-r2' "${_replacing_version}"; then + if ver_test '2.7.6.1-r2' -gt "${_replacing_version}"; then debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!" else _setgid_vuln=1 diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild index fc34d010327e..6935f3bcadaf 100644 --- a/sys-apps/man-db/man-db-9999.ebuild +++ b/sys-apps/man-db/man-db-9999.ebuild @@ -92,7 +92,7 @@ pkg_preinst() { local _replacing_version= local _setgid_vuln=0 for _replacing_version in ${REPLACING_VERSIONS}; do - if version_is_at_least '2.7.6.1-r2' "${_replacing_version}"; then + if ver_test '2.7.6.1-r2' -gt "${_replacing_version}"; then debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!" else _setgid_vuln=1