See the tracker bug. if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 0.4.1-r1 ]]; then Doesn't account for RV having >1 value. Also, < is lexicographical string comparison, so 10 < 1.
10 < 2*.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff50c05fb2a2fcb9e6232267d7360d79acdded1 commit 4ff50c05fb2a2fcb9e6232267d7360d79acdded1 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-02-07 11:16:03 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-02-07 11:16:27 +0000 www-client/surf: Drop pkg_postinst() Package-Manager: Portage-2.3.59, Repoman-2.3.12 Closes: https://bugs.gentoo.org/589534 Signed-off-by: Jeroen Roovers <jer@gentoo.org> www-client/surf/surf-2.0.ebuild | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)