mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
scripts: update bug script so it stops erroring, thanks to dwfread for never testing code but claiming he knows what he is doing :-P
This commit is contained in:
parent
2f630bf937
commit
a552ec80e4
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@
|
|||
CORES="$(grep -c ^proc /proc/cpuinfo)"
|
||||
if [[ "${CORES}" -eq "0" ]] ; then CORES="1" ; fi
|
||||
|
||||
find /etc {/usr,}/{*bin,lib*} -type f | xargs -P ${CORES} fgrep '_portage_rebuild_' | fgrep -v doebuild > /tmp/urfuct.txt
|
||||
fgrep -r _portage_reinstall_ /etc {/usr,}/{*bin,lib*} | fgrep -v doebuild > /tmp/urfuct.txt
|
||||
#find /etc {/usr,}/{*bin,lib*} -type f | xargs -P ${CORES} fgrep '_portage_rebuild_' | fgrep -v doebuild > /tmp/urfuct.txt
|
||||
if [ -n "$(cat /tmp/urfuct.txt)" ]; then
|
||||
for badhit in $(cat /tmp/urfuct.txt) ; do
|
||||
echo ${badhit} | cut -d":" -f1 >> /tmp/badfiles.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue