From 133b4c5bd87f478f8445cdc73d079617dcb0a66b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 22 May 2020 19:50:31 +0100 Subject: [PATCH] sys-cluster/torque: use integer comparison, bug #705278 Use integer comparison instead of lexicographical one. Bug: https://bugs.gentoo.org/705278 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- sys-cluster/torque/torque-4.2.10-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/torque/torque-4.2.10-r1.ebuild b/sys-cluster/torque/torque-4.2.10-r1.ebuild index bf8705f64b41..c992fb2b62ce 100644 --- a/sys-cluster/torque/torque-4.2.10-r1.ebuild +++ b/sys-cluster/torque/torque-4.2.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -184,7 +184,7 @@ pkg_postinst() { fi done fi - if [[ ${showmessage} > 0 ]]; then + if [[ ${showmessage} -gt 0 ]]; then elog "Important v4.x changes:" elog " - The on-wire protocol version has been changed." elog " Versions of Torque before 4.0.0 are no longer able to communicate." -- 2.26.2