13 lines
No EOL
422 B
Bash
13 lines
No EOL
422 B
Bash
#!/bin/sh
|
|
|
|
# Incase of pipefail stop the script
|
|
set -euo pipefail
|
|
|
|
if [ $SCRIPT -eq "debian-setup" ]; then
|
|
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/debian/setup-debian.sh | bash
|
|
elif [ $SCRIPT -eq "alpine-setup" ]; then
|
|
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/alpine/setup-alpine.sh | bash
|
|
else
|
|
echo $SCRIPT "is an invalid option."
|
|
exit 1
|
|
fi |