diff --git a/scripts/bug-461824.sh b/scripts/bug-461824.sh index 6af00a1e7..513978226 100755 --- a/scripts/bug-461824.sh +++ b/scripts/bug-461824.sh @@ -12,7 +12,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 > /tmp/badpkg_us.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 if [ -n "$(cat /tmp/badpkg.txt)" ]; then emerge -1 --buildpkg=y --nodeps $(cat /tmp/badpkg.txt)