bug-461824: ignore pentoo-sources as well

This commit is contained in:
Rick Farina (Zero_Chaos) 2020-08-01 00:57:40 -04:00
parent 0eb589636f
commit dc16377e19
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -13,7 +13,7 @@ wait $WAITPIDS
if [ -n "$(cat /tmp/_portage_reinstall_.txt)" ]; then
cat /tmp/_portage_reinstall_.txt | cut -d":" -f1 > /tmp/badfiles.txt
xargs -a /tmp/badfiles.txt qfile -S -C | cut -d' ' -f1 | cut -d':' -f1 > /tmp/badpkg_us.txt
sort -u /tmp/badpkg_us.txt | grep -v portage > /tmp/badpkg.txt
sort -u /tmp/badpkg_us.txt | grep -Ev 'portage|pentoo-sources' > /tmp/badpkg.txt
if [ -n "$(cat /tmp/badpkg.txt)" ]; then
emerge -1 --buildpkg=y --nodeps $(cat /tmp/badpkg.txt)
fi