shrub/sh/load-arvo
2019-03-04 16:43:53 -08:00

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"