mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
nix-channels: Garbage collect before updating
This commit is contained in:
parent
8558ba5ad8
commit
d16a34e5a0
@ -465,8 +465,8 @@ def garbage_collect():
|
||||
logging.info(f' - {deleted_nar} nar files unreachable')
|
||||
|
||||
if __name__ == '__main__':
|
||||
garbage_collect()
|
||||
channels = clone_channels()
|
||||
update_channels(channels)
|
||||
garbage_collect()
|
||||
if failure:
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user