pentoo-updater: fix binutils logic to be more greedy

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-09-12 14:54:08 -04:00
parent ad56cb10bd
commit 7a844cd76a
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -345,7 +345,7 @@ if [ -n "${removeme}" ]; then
printf "Removing old setuptools_scm...\n"
emerge -C "=${removeme}"
fi
if [ "$(portageq match / '=sys-devel/binutils-2.32-r1')" = '=sys-devel/binutils-2.32-r1' ]; then
if [ -n "$(portageq match / '>=sys-devel/binutils-2.32-r1')" ]; then
removeme2=$(portageq match / '<sys-devel/binutils-2.32-r1')
if [ -n "${removeme2}" ]; then
printf "Removing old/broken binutils...\n"