Gentoo Archives: gentoo-commits

From: "Paul Varner (fuzzyray)" <fuzzyray@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoolkit r478 - trunk/src/revdep-rebuild
Date: Wed, 05 Mar 2008 18:25:57
Message-Id: E1JWyJO-0003TD-RE@stork.gentoo.org
1 Author: fuzzyray
2 Date: 2008-03-05 18:25:54 +0000 (Wed, 05 Mar 2008)
3 New Revision: 478
4
5 Modified:
6 trunk/src/revdep-rebuild/revdep-rebuild
7 Log:
8 Disable portage-utils support until it is able to handle categories without a hyphen. Bug #210386
9
10 Modified: trunk/src/revdep-rebuild/revdep-rebuild
11 ===================================================================
12 --- trunk/src/revdep-rebuild/revdep-rebuild 2008-02-28 23:43:45 UTC (rev 477)
13 +++ trunk/src/revdep-rebuild/revdep-rebuild 2008-03-05 18:25:54 UTC (rev 478)
14 @@ -196,9 +196,11 @@
15 ##
16 # Check if various portage utils are allowed and installed
17 setup_get_file_owner() {
18 - if [[ $avoid_utils != *portage-utils* ]] && hash qfile 2> /dev/null; then
19 - get_file_owner() { qfile -qvC "$@"; }
20 - elif [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then
21 + # portage-utils disabled until it is able to handle category names without
22 + # a hyphen. See Bug #210386
23 + # if [[ $avoid_utils != *portage-utils* ]] && hash qfile 2> /dev/null; then
24 + # get_file_owner() { qfile -qvC "$@"; }
25 + if [[ $avoid_utils != *pkgcore* ]] && hash pquery 2> /dev/null; then
26 get_file_owner() { local IFS=,; pquery --nocolor --owns="$*"; }
27 # equery disabled for incompatibility with modern portage.
28 # elif [[ $avoid_utils != *equery* ]] && hash equery 2> /dev/null; then
29
30 --
31 gentoo-commits@l.g.o mailing list