commit:     ca6424f438c1e888a7cf643b65927b03864e14c2
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 19 14:23:19 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 14:23:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6424f4

sys-cluster/torque: drop lexicographical version compare

torque < 4 is not in tree for a while. Let's just drop dead code.

Closes: https://bugs.gentoo.org/705278
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-cluster/torque/torque-4.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/torque/torque-4.1.7-r1.ebuild 
b/sys-cluster/torque/torque-4.1.7-r1.ebuild
index 6e27735c337..12099f7e7c5 100644
--- a/sys-cluster/torque/torque-4.1.7-r1.ebuild
+++ b/sys-cluster/torque/torque-4.1.7-r1.ebuild
@@ -174,7 +174,7 @@ pkg_postinst() {
        echo ""
        elog "    For a basic setup, you may use emerge --config ${PN}"
        echo ""
-       if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 4 ]]; 
then
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
                elog "Important 4.0+ updates"
                elog "  - The on-wire protocol version has been changed."
                elog "    Versions of Torque before 4.0.0 are no longer able to 
communicate."

Reply via email to