bootstrap/bootstrap.sh

13 lines
411 B
Bash
Raw Normal View History

2018-11-27 09:08:03 +01:00
#! /bin/bash
# fail immediately on error
set -e
2018-11-27 09:08:03 +01:00
CURLOPT=${CURLOPT:-"--location --remote-time --show-error --silent --fail --tlsv1.2"}
2017-10-12 14:02:17 +02:00
2018-11-23 10:10:17 +01:00
# root part
2021-02-12 07:40:57 +01:00
# shellcheck disable=SC2086
2018-11-27 09:08:03 +01:00
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-root.sh | sudo -SEH bash -
2018-03-07 16:27:52 +01:00
2018-11-23 10:10:17 +01:00
# userspace part
2021-02-12 07:40:57 +01:00
# shellcheck disable=SC2086
2018-11-27 09:08:03 +01:00
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -