From 4a97a942aeaf5bdf95a4de10f82d74b61a9c92eb Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 6 Jul 2011 17:58:36 +0400 Subject: [PATCH] portage-exclude moved --HG-- rename : bash/portage-exclude/portage-exclude.sh => bash/portage-exclude-gen/portage-exclude-gen.sh --- .../portage-exclude-gen.sh} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename bash/{portage-exclude/portage-exclude.sh => portage-exclude-gen/portage-exclude-gen.sh} (89%) 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 -