Browse Source

Merge branch 'release/v23.7.0' into develop

pull/4407/head
Daniel Gibbs 1 year ago
parent
commit
ddd3056210
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 2
      .github/workflows/labeler.yml
  2. 1
      lgsm/data/almalinux-8.csv
  3. 1
      lgsm/data/almalinux-9.csv
  4. 1
      lgsm/data/centos-7.csv
  5. 1
      lgsm/data/centos-8.csv
  6. 1
      lgsm/data/centos-9.csv
  7. 1
      lgsm/data/debian-10.csv
  8. 1
      lgsm/data/debian-11.csv
  9. 1
      lgsm/data/debian-12.csv
  10. 1
      lgsm/data/debian-9.csv
  11. BIN
      lgsm/data/gameicons/cd-icon.png
  12. 1
      lgsm/data/rhel-7.csv
  13. 1
      lgsm/data/rhel-8.csv
  14. 1
      lgsm/data/rhel-9.csv
  15. 1
      lgsm/data/rocky-8.csv
  16. 1
      lgsm/data/rocky-9.csv
  17. 1
      lgsm/data/ubuntu-16.04.csv
  18. 1
      lgsm/data/ubuntu-18.04.csv
  19. 1
      lgsm/data/ubuntu-20.04.csv
  20. 1
      lgsm/data/ubuntu-22.04.csv
  21. 1
      lgsm/data/ubuntu-23.04.csv
  22. 1
      lgsm/data/ubuntu-23.10.csv
  23. 2
      lgsm/modules/core_modules.sh
  24. 10
      lgsm/modules/fix_vh.sh
  25. 10
      lgsm/modules/info_distro.sh
  26. 2
      linuxgsm.sh

2
.github/workflows/labeler.yml

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Issue Labeler
uses: github/issue-labeler@v3.2
uses: github/issue-labeler@v3.3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml

1
lgsm/data/almalinux-8.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/almalinux-9.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/centos-7.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/centos-8.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/centos-9.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/debian-10.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/debian-11.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/debian-12.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/debian-9.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

BIN
lgsm/data/gameicons/cd-icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

1
lgsm/data/rhel-7.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rhel-8.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rhel-9.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rocky-8.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/rocky-9.csv

@ -19,7 +19,6 @@ bs
bt,libicu,dos2unix,libxml2
btl
cc
cd
ck,xorg-x11-server-Xvfb
cmw
cod,compat-libstdc++-33.i686

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-16.04.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-18.04.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-20.04.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-22.04.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-23.04.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

1
lgsm/data/ubuntu-23.10.csv

@ -19,7 +19,6 @@ bs
bt,libicu-dev,dos2unix,libxml2-utils
btl
cc
cd
ck,xvfb,libxi6
cmw
cod,libstdc++5:i386

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/modules/core_modules.sh

@ -8,7 +8,7 @@
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
modulesversion="v23.6.2"
modulesversion="v23.7.0"
# Core

10
lgsm/modules/fix_vh.sh

@ -18,11 +18,11 @@ if [ -f "${modsinstalledlistfullpath}" ]; then
executable="./start_server_bepinex.sh"
fi
if [ -d "${serverfiles}/unstripped_corlib" ]; then
rm -rf "${serverfiles}/unstripped_corlib"
fi
sed -i 's/^dllSearchPathOverride=unstripped_corlib/# &/' "${serverfiles}/doorstop_config.ini"
sed -i 's/^export DOORSTOP_CORLIB_OVERRIDE_PATH="$BASEDIR\/unstripped_corlib"/# &/' "${serverfiles}/start_game_bepinex.sh"
sed -i 's/^export DOORSTOP_CORLIB_OVERRIDE_PATH="${VALHEIM_PLUS_PATH}\/unstripped_corlib"/# &/' "${serverfiles}/start_server_bepinex.sh"
rm -rf "${serverfiles}/unstripped_corlib"
fi
sed -i "s/^dllSearchPathOverride=unstripped_corlib/# &/" "${serverfiles}/doorstop_config.ini"
sed -i "s/^export DOORSTOP_CORLIB_OVERRIDE_PATH="$BASEDIR\/unstripped_corlib"/# &/" "${serverfiles}/start_game_bepinex.sh"
sed -i "s/^export DOORSTOP_CORLIB_OVERRIDE_PATH="${VALHEIM_PLUS_PATH}\/unstripped_corlib"/# &/" "${serverfiles}/start_server_bepinex.sh"
fi
# special exports for BepInEx if installed
if grep -qE "^bepinexvh" "${modsinstalledlistfullpath}"; then

10
lgsm/modules/info_distro.sh

@ -28,15 +28,15 @@ kernel="$(uname -r)" # Kernel e.g. 2.6.32-042stab120.16
distro_info_array=(os-release lsb_release hostnamectl debian_version redhat-release)
for distro_info in "${distro_info_array[@]}"; do
if [ -f "/etc/os-release" ] && [ "${distro_info}" == "os-release" ]; then
distroname="$(grep "PRETTY_NAME" /etc/os-release | awk -F\= '{gsub(/"/,"",$2);print $2}')" # e.g. Ubuntu 22.04.3 LTS
distroversion="$(grep "VERSION_ID" /etc/os-release | awk -F\= '{gsub(/"/,"",$2);print $2}')" # e.g. 22.04
distroname="$(grep "PRETTY_NAME" /etc/os-release | awk -F= '{gsub(/"/,"",$2);print $2}')" # e.g. Ubuntu 22.04.3 LTS
distroversion="$(grep "VERSION_ID" /etc/os-release | awk -F= '{gsub(/"/,"",$2);print $2}')" # e.g. 22.04
# Special var for rhel like distros to remove point in number e.g 8.4 to just 8.
if [[ "${distroidlike}" == *"rhel"* ]] || [ "${distroid}" == "rhel" ]; then
distroversionrh="$(sed -nr 's/^VERSION_ID="([0-9]*).+?"/\1/p' /etc/os-release)" # e.g. 8
fi
distroid="$(grep "ID=" /etc/os-release | grep -v _ID | awk -F\= '{gsub(/"/,"",$2);print $2}')" # e.g. ubuntu
distroidlike="$(grep "ID_LIKE=" /etc/os-release | grep -v _ID | awk -F\= '{gsub(/"/,"",$2);print $2}')" # e.g. debian
distrocodename="$(grep "VERSION_CODENAME" /etc/os-release | awk -F\= '{gsub(/"/,"",$2);print $2}')" # e.g. jammy
distroid="$(grep "ID=" /etc/os-release | grep -v _ID | awk -F= '{gsub(/"/,"",$2);print $2}')" # e.g. ubuntu
distroidlike="$(grep "ID_LIKE=" /etc/os-release | grep -v _ID | awk -F= '{gsub(/"/,"",$2);print $2}')" # e.g. debian
distrocodename="$(grep "VERSION_CODENAME" /etc/os-release | awk -F= '{gsub(/"/,"",$2);print $2}')" # e.g. jammy
elif [ "$(command -v lsb_release 2> /dev/null)" ] && [ "${distro_info}" == "lsb_release" ]; then
if [ -z "${distroname}" ]; then
distroname="$(lsb_release -sd)" # e.g. Ubuntu 22.04.3 LTS

2
linuxgsm.sh

@ -24,7 +24,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi
version="v23.6.2"
version="v23.7.0"
shortname="core"
gameservername="core"
commandname="CORE"

Loading…
Cancel
Save