pentoo-updater: clean out old jpeg virtual that portage isn't removing for some reason

This commit is contained in:
Rick Farina (Zero_Chaos) 2020-02-20 13:55:17 -05:00
parent 38ab6b0c70
commit 4be6c56078
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -384,6 +384,11 @@ if [ -n "${removeme5}" ]; then
printf "Force updating old openssl...\n"
emerge --update --nodeps --oneshot openssl
fi
removeme6=$(portageq match / '=virtual/jpeg-62')
if [ -n "${removeme6}" ]; then
printf "Removing obsolete jpeg-62 virtual\n"
emerge -C "=${removeme6}"
fi
#before main upgrades, let's set a good java-vm
set_java