shrub/sh/load-arvo

22 lines
285 B
Plaintext
Raw Normal View History

2019-03-05 03:43:53 +03:00
#!/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"