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
|
#! /bin/bash
|
||||||
# fail immediately on error
|
# fail immediately on error
|
||||||
set -e
|
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
|
# root part
|
||||||
# shellcheck disable=SC2086
|
curl "$CURLOPT" https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-root.sh \
|
||||||
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-root.sh | sudo -SEH bash -
|
&& chmod +x bootstrap-root.sh
|
||||||
|
|
||||||
# userspace part
|
# userspace part
|
||||||
# shellcheck disable=SC2086
|
curl "$CURLOPT" https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-user.sh \
|
||||||
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -
|
&& chmod +x bootstrap-user.sh
|
||||||
|
|
Loading…
Reference in a new issue