2018-11-27 09:08:03 +01:00
|
|
|
#! /bin/bash
|
2018-11-23 10:17:31 +01:00
|
|
|
# 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
|
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
|
2018-11-27 09:08:03 +01:00
|
|
|
curl $CURLOPT https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -
|