bootstrap/bootstrap.sh
2021-02-23 08:04:11 +00:00

12 lines
417 B
Bash
Executable file

#! /bin/bash
# fail immediately on error
set -e
CURLOPT=${CURLOPT:-"--location --remote-time --remote-name --show-error --silent --fail --tlsv1.2"}
# root part
curl "$CURLOPT" https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-root.sh \
&& chmod +x bootstrap-root.sh
# userspace part
curl "$CURLOPT" https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-user.sh \
&& chmod +x bootstrap-user.sh