improve libtest on reagent

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1158 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-02-06 23:05:43 +00:00
parent fc1e02d10c
commit f83dcc51da
2 changed files with 4 additions and 4 deletions

View File

@@ -565,11 +565,10 @@ class EquoInterface(TextInterface):
count = (count,total),
header = " "
)
if reagent:
plain_brokenexecs.add(etpConst['systemroot']+executable)
brokenlibs.update(mylibs)
if reagent:
plain_brokenexecs.add(etpConst['systemroot']+executable)
else:
brokenexecs[executable] = mylibs.copy()
brokenexecs[executable] = mylibs.copy()
del executables
packagesMatched = set()

View File

@@ -380,6 +380,7 @@ def librariesTest(listfiles = False):
if not os.access(qfile_exec,os.X_OK):
print_error(red(" * ")+blue("You need portage-utils installed !"))
return 1
print brokenexecs
for brokenexec in brokenexecs:
print_info(red(" : ")+darkgreen(brokenexec))
os.system(qfile_exec+qfile_opts+" "+brokenexec)