kiln: make dist desks public on-boot

So that our sponsees (and other ship) can install the software on them.
This commit is contained in:
Fang 2021-09-28 16:22:37 +04:00
parent 059c2daed3
commit c9e8c8ca60
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -251,13 +251,17 @@
::
:: watch for gall reloading
=. ..on-init abet:gall-lyv:vats
:: install other desks
:: install other desks and make them public
::
=/ dez=(list desk) ~(tap in desks)
|- ^+ ..on-init
?~ dez ..on-init
=. ..on-init
abet:(install-local:vats i.dez)
=. ..on-init
%- emit
:^ %pass /kiln/permission %arvo
[%c %perm i.dez / %r `[%black ~]]
=? ..on-init !=(sop our)
abet:(install:vats i.dez sop i.dez)
$(dez t.dez)