portage-exclude script
This commit is contained in:
parent
15ea11fd4e
commit
ce665559df
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /usr/portage/ || exit -1
|
||||||
|
for d in *-*; do
|
||||||
|
if [[ `qlist -IC $d/ | wc -l` == 0 ]]; then
|
||||||
|
echo $d/
|
||||||
|
else
|
||||||
|
for pn in $d/*; do
|
||||||
|
if [[ `qlist -IC $pn | wc -l` == 0 ]]; then
|
||||||
|
echo $pn/
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue