urbit/pkg/arvo/gen/hood/ota.hoon
fang f9f91b9592
gen: make |ota useful again
As an alias for installing into the base desk. Defaults to the remote
ship's %kids desk if no desk is specified.
2021-10-08 21:39:19 +04:00

19 lines
355 B
Plaintext

:: Kiln: Continuously merge local desk from (optionally-)foreign one
::
:::: /hoon/ota/hood/gen
::
/? 310
::
::::
::
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
arg=?([%disable ~] [her=@p sud=?(~ [@tas ~])])
~
==
:- %kiln-install
?: ?=([%disable ~] arg)
[%base p.bec %base]
:+ %base her.arg
?@(sud.arg %kids -.sud.arg)