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:
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user