bootstrap/bootstrap.sh
2021-02-12 07:40:57 +01:00

12 lines
411 B
Bash
Executable file

#! /bin/bash
# fail immediately on error
set -e
CURLOPT=${CURLOPT:-"--location --remote-time --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 -
# userspace part
# shellcheck disable=SC2086
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -