Setup-Scripts/setup-main.sh
2025-04-19 17:19:06 +02:00

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