bootstrap
This commit is contained in:
parent
ee1357194b
commit
c1aad03c68
2 changed files with 4 additions and 4 deletions
8
cd.sh
8
cd.sh
|
@ -5,7 +5,6 @@ PACKAGES=(
|
|||
'git'
|
||||
)
|
||||
REPOSITORY='rwx.work/cd'
|
||||
TARGET='/usr/local/sbin'
|
||||
|
||||
for nameserver in "${NAMESERVERS[@]}" ; do
|
||||
echo "nameserver ${nameserver}" \
|
||||
|
@ -19,9 +18,10 @@ apt-get update \
|
|||
apt-get install --yes "${PACKAGES[@]}" \
|
||||
|| exit
|
||||
|
||||
DIRECTORY="$(mktemp --directory)" \
|
||||
|| exit
|
||||
git clone \
|
||||
"${GITHUB_SERVER_URL}/${REPOSITORY}" \
|
||||
"${TARGET}" \
|
||||
"${DIRECTORY}" \
|
||||
|| exit
|
||||
|
||||
cd-bootstrap.sh
|
||||
"${DIRECTORY}/bootstrap.sh"
|
||||
|
|
Loading…
Reference in a new issue