mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
bug-461824.sh: new qfile outputs slightly differently, this is compatible with old and new
This commit is contained in:
parent
dd4ac404a8
commit
1628aeea98
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue