diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2008-03-05 18:25:54 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2008-03-05 18:25:54 +0000 |
| commit | 7082ca9e0eeb97a0ed3b7739956ebd6b035fbb6d (patch) | |
| tree | 0c37e1f99c1ea39ab231701f736bceba14f22860 | |
| parent | c5cc3e4e7c44041ec56c0f08f1ff4ec283dee533 (diff) | |
| download | gentoolkit-7082ca9e0eeb97a0ed3b7739956ebd6b035fbb6d.tar.gz | |
Disable portage-utils support until it is able to handle categories without a hyphen. Bug #210386
svn path=/; revision=478
| -rwxr-xr-x | trunk/src/revdep-rebuild/revdep-rebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild index 4496d59..8c65e26 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild +++ b/trunk/src/revdep-rebuild/revdep-rebuild @@ -196,9 +196,11 @@ clean_exit() { ## # Check if various portage utils are allowed and installed setup_get_file_owner() { - if [[ $avoid_utils != *portage-utils* ]] && hash qfile 2> /dev/null; then - get_file_owner() { qfile -qvC "$@"; } - elif [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then + # portage-utils disabled until it is able to handle category names without + # a hyphen. See Bug #210386 + # if [[ $avoid_utils != *portage-utils* ]] && hash qfile 2> /dev/null; then + # get_file_owner() { qfile -qvC "$@"; } + if [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then get_file_owner() { local IFS=,; pquery --nocolor --owns="$*"; } # equery disabled for incompatibility with modern portage. # elif [[ $avoid_utils != *equery* ]] && hash equery 2> /dev/null; then |
