updates to autoupdate
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 12s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 22s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 10s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 7s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 12s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 22s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 10s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Successful in 7s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Successful in 6s
This commit is contained in:
@@ -12,6 +12,24 @@ CHANGELOG=/ts3server/CHANGELOG_$TS_VERSION
|
||||
TS_FILES=https://gitea.fithwum.tech/fithwum/teamspeak-server/raw/branch/main/files
|
||||
TS_SERVER=https://files.teamspeak-services.com/releases/server/$TS_VERSION/teamspeak3-server_linux_amd64-$TS_VERSION.tar.bz2
|
||||
|
||||
|
||||
|
||||
if [ "$ACCEPT_EULA" = "true" ]; then
|
||||
echo "INFO ! Accepting EULA (one-time)"
|
||||
sed -i 's/eula=false/eula=true/' "$EULA_FILE" 2>/dev/null \
|
||||
|| echo "eula=true" > "$EULA_FILE"
|
||||
touch "$EULA_MARKER"
|
||||
elif [ "$ACCEPT_EULA" = "false" ]; then
|
||||
echo "WARNING ! EULA not accepted on first run"
|
||||
echo "WARNING ! Set ACCEPT_EULA=true to proceed"
|
||||
sleep infinity
|
||||
else
|
||||
echo "ERROR ! ACCEPT_EULA must be set to true or false on first run"
|
||||
sleep infinity
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Main install (alpine).
|
||||
# Check for files in /ts3server and download/create if needed.
|
||||
if [ -e "$CHANGELOG" ]
|
||||
|
||||
Reference in New Issue
Block a user