mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
22 lines
285 B
Plaintext
22 lines
285 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
test $# -eq 1
|
||
|
|
||
|
ship=$1
|
||
|
|
||
|
# Is a running ship
|
||
|
test -d $ship/.urb
|
||
|
test -f $ship/.vere.lock
|
||
|
|
||
|
urb $ship -p hood -d '+hood/autoload |'
|
||
|
|
||
|
urb $ship -p hood -d "+hood/mount %"
|
||
|
|
||
|
rm -r $ship/home
|
||
|
|
||
|
cp -r pkg/arvo $ship/home
|
||
|
|
||
|
urb $ship -p hood -d "+hood/commit %home"
|