mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
binpkgs-missing: rebuild less
This commit is contained in:
parent
7dc240a797
commit
86ac3087fe
1 changed files with 7 additions and 7 deletions
|
|
@ -11,12 +11,12 @@ bindb = portage.db[root]["bintree"].dbapi
|
|||
|
||||
existing = []
|
||||
for cpv in bindb.cpv_all():
|
||||
try:
|
||||
installed_build_time, = vardb.aux_get(str(cpv), ['BUILD_TIME'])
|
||||
except KeyError:
|
||||
continue
|
||||
if installed_build_time.strip() == str(cpv.build_time):
|
||||
existing.append(str(cpv))
|
||||
try:
|
||||
installed_build_time, = vardb.aux_get(str(cpv), ['BUILD_TIME'])
|
||||
except KeyError:
|
||||
continue
|
||||
if installed_build_time.strip() >= str(cpv.build_time):
|
||||
existing.append(str(cpv))
|
||||
|
||||
for cpv in sorted(set(vardb.cpv_all()).difference(existing)):
|
||||
sys.stdout.write("=%s\n" % cpv)
|
||||
sys.stdout.write("=%s\n" % cpv)
|
||||
|
|
|
|||
Loading…
Reference in a new issue