Update setup-main.sh

This commit is contained in:
ahoemann 2025-04-21 08:58:04 +02:00
parent d16875cfb5
commit 4c104f511b

View file

@ -1,12 +1,10 @@
#!/bin/sh #!/bin/sh
# Incase of pipefail stop the script
set -euo pipefail
if [ $SCRIPT -eq "debian-setup" ]; then if [ $SCRIPT -eq "setup-ebian" ]; then
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/debian/setup-debian.sh | bash wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/debian/setup-debian.sh | bash
elif [ $SCRIPT -eq "alpine-setup" ]; then elif [ $SCRIPT -eq "vps-install-alpine" ]; then
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/alpine/setup-alpine.sh | bash wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/alpine/vps-install-alpine.sh | bash
else else
echo $SCRIPT "is an invalid option." echo $SCRIPT "is an invalid option."
exit 1 exit 1