bootstrap/bootstrap.sh

15 lines
493 B
Bash
Raw Normal View History

2018-11-27 09:08:03 +01:00
#! /bin/bash
# fail immediately on error
set -e
2021-02-23 09:04:11 +01:00
CURLOPT=${CURLOPT:-"--location --remote-time --remote-name --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-23 09:59:33 +01:00
# shellcheck disable=SC2086
2023-07-25 08:43:24 +02:00
curl $CURLOPT https://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/bootstrap-root.sh \
2021-02-23 09:04:11 +01:00
&& chmod +x bootstrap-root.sh
2018-03-07 16:27:52 +01:00
2018-11-23 10:10:17 +01:00
# userspace part
2021-02-23 09:59:33 +01:00
# shellcheck disable=SC2086
2023-07-25 08:43:24 +02:00
curl $CURLOPT https://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/bootstrap-user.sh \
2021-02-23 09:04:11 +01:00
&& chmod +x bootstrap-user.sh