diff --git a/bash/portage-exclude/portage-exclude.sh b/bash/portage-exclude-gen/portage-exclude-gen.sh similarity index 89% rename from bash/portage-exclude/portage-exclude.sh rename to bash/portage-exclude-gen/portage-exclude-gen.sh index 5cb6677..7948904 100755 --- a/bash/portage-exclude/portage-exclude.sh +++ b/bash/portage-exclude-gen/portage-exclude-gen.sh @@ -1,7 +1,7 @@ #!/bin/bash cd /usr/portage/ || exit -1 -for d in *-*; do +for d in *-* virtual; do if [[ `qlist -IC $d/ | wc -l` == 0 ]]; then echo $d/ else @@ -12,4 +12,3 @@ for d in *-*; do done fi done -