mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-03 12:10:50 +02:00
pentoo-updater: remove old/broken binutils if newer exists
This commit is contained in:
parent
6cb60a00e3
commit
ad56cb10bd
1 changed files with 8 additions and 0 deletions
|
|
@ -342,8 +342,16 @@ fi
|
|||
#handle hard blocks here, and like this
|
||||
removeme=$(portageq match / '<dev-python/setuptools_scm-3')
|
||||
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
|
||||
removeme2=$(portageq match / '<sys-devel/binutils-2.32-r1')
|
||||
if [ -n "${removeme2}" ]; then
|
||||
printf "Removing old/broken binutils...\n"
|
||||
emerge -C "=${removeme2}"
|
||||
fi
|
||||
fi
|
||||
|
||||
#before main upgrades, let's set a good java-vm
|
||||
set_java
|
||||
|
|
|
|||
Loading…
Reference in a new issue