mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-06-30 23:12:45 +00:00
nix-channels: fix critical bug in 793ab60
if binary-cache-url exists, it means that this repo has been completely downloaded, and should be considered as a candidate of "alive"
This commit is contained in:
parent
793ab605f4
commit
8a3bb29da2
@ -373,7 +373,7 @@ def garbage_collect():
|
||||
|
||||
for release in (working_dir / RELEASES_DIR).iterdir():
|
||||
# This release never finished downloading
|
||||
if (release / 'binary-cache-url').exists(): continue
|
||||
if not (release / 'binary-cache-url').exists(): continue
|
||||
|
||||
channel = release.name.split('@')[0]
|
||||
date_str = (release / '.released-time').read_text()
|
||||
|
Loading…
x
Reference in New Issue
Block a user