Skip to content

Commit d48fce3

Browse files
authored
Merge pull request #179 from vinanrra/fix/support_experimental-and-new-version
fix: support experimental and new version
2 parents 9f85b79 + b92daaf commit d48fce3

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ STOPSIGNAL SIGTERM
66

77
####Labels####
88
LABEL maintainer="vinanrra"
9-
LABEL build_version="version: 0.5.4"
9+
LABEL build_version="version: 0.5.5"
1010

1111
####Environments ####
1212
ENV TimeZone=Europe/Madrid HOME=/home/sdtdserver LANG=en_US.utf8 TERM=xterm DEBIAN_FRONTEND=noninteractive

scripts/Mods/cpm.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ VERSION=
66
# Change DL_LINK depending on 7 days to die branch version
77
if [ "${VERSION}" == 'stable' ] || [ "${VERSION}" == 'public' ]; then
88
DL_LINK=$(curl -L -s https://api.github.com/repos/Prisma501/CSMM-Patrons-Mod/releases/latest | grep -o -E "https://github.com/Prisma501/CSMM-Patrons-Mod/releases/download(.*).zip")
9-
elif [ "${VERSION}" == 'alpha20.6' ] || [ "${VERSION}" == 'alpha20.7' ]; then
10-
DL_LINK="https://github.com/Prisma501/CSMM-Patrons-Mod/releases/download/A20.6-v22.4.1/CPM_22.4.1.zip"
9+
elif [ "${VERSION}" == 'latest_experimental' ]; then
10+
DL_LINK="http://illy.bz/fi/7dtd/server_fixes.tar.gz"
11+
elif [ "${VERSION}" == 'alpha20.7' ] || [ "${VERSION}" == 'alpha20.7' ]; then
12+
DL_LINK="https://api.github.com/repos/Prisma501/CSMM-Patrons-Mod/releases/latest"
13+
elif [ "${VERSION}" == 'alpha20.6' ]; then
14+
DL_LINK="https://github.com/Prisma501/CSMM-Patrons-Mod/releases/download/A21-v23.3/CPM_23.3.zip"
1115
elif [ "${VERSION}" == 'alpha20.5' ]; then
1216
DL_LINK="https://github.com/Prisma501/CSMM-Patrons-Mod/releases/download/A20.5-v22.1/CPM_22.1.zip"
1317
elif [ "${VERSION}" == 'alpha20.4' ]; then

scripts/Mods/darkness_falls.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ if [ "${DARKNESS_FALLS_URL}" != "False" ]; then
1111
else
1212
# Change DL_LINK depending on 7 days to die branch version
1313
if [ "${VERSION}" == 'stable' ] || [ "${VERSION}" == 'public' ]; then
14-
DL_LINK="https://dev.azure.com/KhaineUK/_git/DarknessFallsA20"
14+
echo "[Darkness Falls] No version found compatible with version ${VERSION}"
15+
echo "[Darkness Falls] If there is a compatible version check -> https://community.7daystodie.com/topic/4941-darkness-falls-they-mostly-come-out-at-night/ and install it manually or using DARKNESS_FALLS_URL"
16+
echo "[Darkness Falls] Omitting installation"
17+
exit
1518
elif [ "${VERSION::7}" == 'alpha20' ]; then
1619
DL_LINK="https://dev.azure.com/KhaineUK/_git/DarknessFallsA20"
1720
else
1821
echo "[Darkness Falls] No version found compatible with version ${VERSION}"
19-
echo "[Darkness Falls] If there is a compatible version check -> https://community.7daystodie.com/topic/4941-darkness-falls-they-mostly-come-out-at-night/ and install it manually"
22+
echo "[Darkness Falls] If there is a compatible version check -> https://community.7daystodie.com/topic/4941-darkness-falls-they-mostly-come-out-at-night/ and install it manually or using DARKNESS_FALLS_URL"
2023
echo "[Darkness Falls] Omitting installation"
2124
exit
2225
fi

scripts/server_update.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/bin/bash
2-
./sdtdserver update
3-
42
BASEPATH=/home/sdtdserver
53
LSGMSDTDSERVERCFG=${BASEPATH}/lgsm/config-lgsm/sdtdserver/sdtdserver.cfg
64

0 commit comments

Comments
 (0)