From ca6424f438c1e888a7cf643b65927b03864e14c2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 19 Apr 2020 15:23:19 +0100 Subject: [PATCH] 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 --- 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 6e27735c3372..12099f7e7c5e 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." -- 2.26.2