From 1628aeea986a21cbe61aa4cba67a1ce19e10a7bb Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Tue, 12 Nov 2019 10:39:26 -0500 Subject: [PATCH] bug-461824.sh: new qfile outputs slightly differently, this is compatible with old and new --- scripts/bug-461824.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)