From 23a05c3439aa06aee9884633836800cc9fd44f81 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Tue, 23 Feb 2021 08:04:11 +0000 Subject: [PATCH] Update bootstrap.sh --- bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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