From: Sergei Trofimovich Date: Sun, 19 Apr 2020 14:23:19 +0000 (+0100) Subject: sys-cluster/torque: drop lexicographical version compare X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca6424f438c1e888a7cf643b65927b03864e14c2;p=gentoo.git 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 --- 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."