sys-apps/man-db: Replaced version_is_at_least with ver_test
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 31 Jan 2019 23:10:56 +0000 (00:10 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 31 Jan 2019 23:10:56 +0000 (00:10 +0100)
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-apps/man-db/man-db-2.8.5.ebuild
sys-apps/man-db/man-db-9999.ebuild

index fc34d010327eadac4d22ac9c65c58a3d1089411f..6935f3bcadaf36e03fb7a72c1dbbc78f5b06a88f 100644 (file)
@@ -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
index fc34d010327eadac4d22ac9c65c58a3d1089411f..6935f3bcadaf36e03fb7a72c1dbbc78f5b06a88f 100644 (file)
@@ -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