14 lines
		
	
	
	
		
			467 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			467 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
 | 
						|
# shellcheck disable=SC208
 | 
						|
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-root.sh \
 | 
						|
    && chmod +x bootstrap-root.sh
 | 
						|
 | 
						|
# userspace part
 | 
						|
# shellcheck disable=SC208
 | 
						|
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-user.sh \
 | 
						|
    && chmod +x bootstrap-user.sh
 |