mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
Merge pull request #116 from dramforever/nix-gc-fix-1
nix-channels: fix critical bug in #115
This commit is contained in:
commit
5d6ddc10e1
@ -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