Update bootstrap.sh
This commit is contained in:
parent
330599d84b
commit
23a05c3439
1 changed files with 5 additions and 5 deletions
10
bootstrap.sh
10
bootstrap.sh
|
@ -1,12 +1,12 @@
|
|||
#! /bin/bash
|
||||
# fail immediately on error
|
||||
set -e
|
||||
CURLOPT=${CURLOPT:-"--location --remote-time --show-error --silent --fail --tlsv1.2"}
|
||||
CURLOPT=${CURLOPT:-"--location --remote-time --remote-name --show-error --silent --fail --tlsv1.2"}
|
||||
|
||||
# root part
|
||||
# shellcheck disable=SC2086
|
||||
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-root.sh | sudo -SEH bash -
|
||||
curl "$CURLOPT" https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-root.sh \
|
||||
&& chmod +x bootstrap-root.sh
|
||||
|
||||
# userspace part
|
||||
# shellcheck disable=SC2086
|
||||
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -
|
||||
curl "$CURLOPT" https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-user.sh \
|
||||
&& chmod +x bootstrap-user.sh
|
||||
|
|
Loading…
Reference in a new issue