From: fuzzyray Date: Wed, 5 Mar 2008 18:25:54 +0000 (-0000) Subject: Disable portage-utils support until it is able to handle categories without a hyphen... X-Git-Tag: gentoolkit-0.2.4.3~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7082ca9e0eeb97a0ed3b7739956ebd6b035fbb6d;p=gentoolkit.git Disable portage-utils support until it is able to handle categories without a hyphen. Bug #210386 svn path=/; revision=478 --- 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