diff --git a/bootstrap.sh b/bootstrap.sh index 5817b10..5416c76 100755 --- a/bootstrap.sh +++ b/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