mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 15:44:03 +03:00
22 lines
285 B
Bash
Executable File
22 lines
285 B
Bash
Executable File
#!/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"
|