Merge pull request #6724 from urbit/kiln-fix-download

kiln: avoid downloading updates for uninstalled desks
This commit is contained in:
Pyry Kovanen 2023-07-24 16:27:04 +03:00 committed by GitHub
commit 86e1de078d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1127,6 +1127,12 @@
=/ m (strand:rand ,vase)
;< =riot:clay bind:m (warp:strandio her sud ~ %sing %w ud+let /)
?> ?=(^ riot)
:: The syncs may have changed, so get the latest
::
;< zyx=(map kiln-sync sync-state) bind:m
(scry:strandio (map kiln-sync sync-state) /gx/hood/kiln/syncs/noun)
?. (~(has by zyx) syd her sud)
(pure:m !>(%done))
~> %slog.(fmt "downloading update for {here}")
;< =riot:clay bind:m (warp:strandio her sud ~ %sing %v ud+let /)
?> ?=(^ riot)