summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-10 01:33:10 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-10 01:33:10 +0000
commitfc447b9a1b5902d914fc8bd1f341cb897260dce1 (patch)
tree0eef7fe5f5f7015dc9eced15d0b8bb625f358775 /bin
parentDisable EAPI 3_pre1. (diff)
downloadportage-multirepo-fc447b9a1b5902d914fc8bd1f341cb897260dce1.tar.gz
portage-multirepo-fc447b9a1b5902d914fc8bd1f341cb897260dce1.tar.bz2
portage-multirepo-fc447b9a1b5902d914fc8bd1f341cb897260dce1.zip
Revert preserve-libs support since it won't be supported in this branch.
svn path=/main/branches/2.1.7/; revision=14538
Diffstat (limited to 'bin')
-rwxr-xr-xbin/portageq23
1 files changed, 0 insertions, 23 deletions
diff --git a/bin/portageq b/bin/portageq
index cea14231..dea77836 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -519,29 +519,6 @@ def get_repo_path(argv):
for arg in argv[1:]:
print(portage.db[argv[0]]["porttree"].dbapi.getRepositoryPath(arg))
-def list_preserved_libs(argv):
- """<root>
- Print a list of libraries preserved during a package update in the form
- package: path. Returns 0 if no preserved libraries could be found,
- 1 otherwise.
- """
-
- if len(argv) != 1:
- print("ERROR: wrong number of arguments")
- sys.exit(2)
- mylibs = portage.db[argv[0]]["vartree"].dbapi.plib_registry.getPreservedLibs()
- rValue = 0
- msg = []
- for cpv in sorted(mylibs):
- msg.append(cpv)
- for path in mylibs[cpv]:
- msg.append(' ' + path)
- rValue = 1
- msg.append('\n')
- writemsg_stdout(''.join(msg), noiselevel=-1)
- return rValue
-list_preserved_libs.uses_root = True
-
#-----------------------------------------------------------------------------
#
# DO NOT CHANGE CODE BEYOND THIS POINT - IT'S NOT NEEDED!