Update setup-main.sh
This commit is contained in:
parent
d16875cfb5
commit
4c104f511b
1 changed files with 3 additions and 5 deletions
|
@ -1,12 +1,10 @@
|
|||
#!/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
|
||||
elif [ $SCRIPT -eq "alpine-setup" ]; then
|
||||
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/alpine/setup-alpine.sh | bash
|
||||
elif [ $SCRIPT -eq "vps-install-alpine" ]; then
|
||||
wget -q -O - https://git.adrianux.net/ahoemann/Setup-Scripts/raw/branch/main/alpine/vps-install-alpine.sh | bash
|
||||
else
|
||||
echo $SCRIPT "is an invalid option."
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue