switch to a centralized CURLOPT layout
This commit is contained in:
parent
69b71e9b27
commit
ba6ae6a6f7
2 changed files with 8 additions and 6 deletions
|
@ -1,9 +1,10 @@
|
|||
#! /bin/sh
|
||||
#! /bin/bash
|
||||
# fail immediately on error
|
||||
set -e
|
||||
CURLOPT=${CURLOPT:-"--location --remote-time --show-error --silent --fail --tlsv1.2"}
|
||||
|
||||
# root part
|
||||
curl -RLSsf1 https://github.com/schtobia/bootstrap/raw/master/bootstrap-root.sh | sudo -SEH bash -
|
||||
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-root.sh | sudo -SEH bash -
|
||||
|
||||
# userspace part
|
||||
curl -RLSsf1 https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -
|
||||
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue