From: Zac Medico Date: Fri, 9 Dec 2011 18:54:04 +0000 (-0800) Subject: portageq: get_repo* uses_root X-Git-Tag: v2.2.0_alpha80~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=174ffd8336ec9914f85f871b7ce78506574d3d9b;p=portage.git portageq: get_repo* uses_root --- diff --git a/bin/portageq b/bin/portageq index cee343fc8..e1cf1a0f7 100755 --- a/bin/portageq +++ b/bin/portageq @@ -708,6 +708,8 @@ def get_repos(argv): sys.exit(2) print(" ".join(portage.db[argv[0]]["porttree"].dbapi.getRepositories())) +get_repos.uses_root = True + def get_repo_path(argv): """ + Returns the path to the repo named argv[1], argv[0] = $EROOT @@ -721,6 +723,8 @@ def get_repo_path(argv): path = "" print(path) +get_repo_path.uses_root = True + def list_preserved_libs(argv): """ Print a list of libraries preserved during a package update in the form