1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-13 20:19:03 -08:00

stub out obtain and update PATH

This commit is contained in:
Connor Olding 2024-07-04 19:56:28 -07:00
parent 44065e8571
commit b35b92bab2

View file

@ -48,7 +48,7 @@ __obtain_prep() { # can be run many times in case curl/wget becomes available.
fi 2>&- fi 2>&-
} }
__obtain() { __obtain_bootstrap() {
__obtain_prep __obtain_prep
arch="$(exec uname -m)" || __obtain_die "uname is missing" arch="$(exec uname -m)" || __obtain_die "uname is missing"
@ -109,6 +109,13 @@ __obtain() {
# /etc/resolv.conf # /etc/resolv.conf
# /etc/svc.conf # /etc/svc.conf
# /etc/ssl/certs/9f4c149e.0 # /etc/ssl/certs/9f4c149e.0
export PATH="$HOME/play/bootstrap:$PATH"
}
__obtain() {
printf >&2 %s\\n 'obtain: TODO'
exit 1
} }
obtain()(__obtain "$@") obtain()(__obtain "$@")