Skip to content

Commit

Permalink
Merge branch 'hotfix/v21.3.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Oct 24, 2021
2 parents 2caea17 + 085a9d5 commit 67e1f3f
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 51 deletions.
3 changes: 0 additions & 3 deletions .github/pr-labeler.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/pr-labeler.yml

This file was deleted.

8 changes: 1 addition & 7 deletions lgsm/config-default/config-lgsm/avserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@

## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters

# https://steamidfinder.com
adminsteamid=""
if [ -n "${adminsteamid}" ]; then
admincmd="--admin ${adminsteamid}"
fi

## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="--galaxy-name ${selfname} --ip ${ip} --datapath ${avdatapath} ${admincmd}"
startparameters="--galaxy-name ${selfname} --ip ${ip} --datapath ${avdatapath}"

#### LinuxGSM Settings ####

Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/almalinux-8.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb,libnsl
mh
mohaa,compat-libstdc++-33.i686
mom
mta
mta,ncurses-compat-libs
mumble
nd
nmrih,ncurses-libs.i686
Expand Down
4 changes: 2 additions & 2 deletions lgsm/data/centos-7.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all,bc,binutils,bzip2,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++.i686,nmap-ncat,python36,tar,tmux,unzip,util-linux,wget,xz
all,bc,binutils,bzip2,bzip2,cpio,curl,epel-release,file,glibc.i686,gzip,hostname,jq,libstdc++.i686,nmap-ncat,python3,tar,tmux,unzip,util-linux,wget,xz
steamcmd,glibc.i686,libstdc++.i686
ac
ahl
Expand Down Expand Up @@ -62,7 +62,7 @@ mcb,libnsl
mh
mohaa,compat-libstdc++-33.i686
mom
mta
mta,ncurses-libs
mumble
nd
nmrih,ncurses-libs.i686
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/centos-8.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb,libnsl
mh
mohaa,compat-libstdc++-33.i686
mom
mta
mta,ncurses-compat-libs
mumble
nd
nmrih,ncurses-libs.i686
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/debian-10.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb
mh
mohaa,libstdc++5:i386
mom
mta
mta,libncursesw5
mumble
nd
nmrih,libtinfo5:i386
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/debian-11.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb
mh
mohaa,libstdc++5:i386
mom
mta
mta,libncursesw5
mumble
nd
nmrih,libtinfo5:i386
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/debian-9.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb
mh
mohaa,libstdc++5:i386
mom
mta
mta,libncursesw5
mumble
nd
nmrih,libtinfo5:i386
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/rocky-8.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb,libnsl
mh
mohaa,compat-libstdc++-33.i686
mom
mta
mta,ncurses-compat-libs
mumble
nd
nmrih,ncurses-libs.i686
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/ubuntu-18.04.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb
mh
mohaa,libstdc++5:i386
mom
mta
mta,libncursesw5
mumble
nd
nmrih,libtinfo5:i386
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/ubuntu-20.04.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb
mh
mohaa,libstdc++5:i386
mom
mta
mta,libncursesw5
mumble
nd
nmrih,libtinfo5:i386
Expand Down
2 changes: 1 addition & 1 deletion lgsm/data/ubuntu-21.04.csv
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mcb
mh
mohaa,libstdc++5:i386
mom
mta
mta,libncursesw5
mumble
nd
nmrih,libtinfo5:i386
Expand Down
10 changes: 5 additions & 5 deletions lgsm/functions/alert_mailgun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ else
mailgunapiurl="https://api.mailgun.net"
fi

fn_print_dots "Sending Email alert: Mailgun: ${email}"
fn_print_dots "Sending Email alert: Mailgun: ${mailgunemail}"

mailgunsend=$(curl --connect-timeout 10 -s --user "api:${mailguntoken}" \
-F from="LinuxGSM <${mailgunemailfrom}>" \
Expand All @@ -24,9 +24,9 @@ mailgunsend=$(curl --connect-timeout 10 -s --user "api:${mailguntoken}" \
-F text="$(cat "${alertlog}")" "${mailgunapiurl}/v3/${mailgundomain}/messages")

if [ -z "${mailgunsend}" ]; then
fn_print_fail_nl "Sending Email alert: Mailgun: ${email}"
fn_script_log_fatal "Sending Email alert: Mailgun: ${email}"
fn_print_fail_nl "Sending Email alert: Mailgun: ${mailgunemail}"
fn_script_log_fatal "Sending Email alert: Mailgun: ${mailgunemail}"
else
fn_print_ok_nl "Sending Email alert: Mailgun: ${email}"
fn_script_log_pass "Sending Email alert: Mailgun: ${email}"
fn_print_ok_nl "Sending Email alert: Mailgun: ${mailgunemail}"
fn_script_log_pass "Sending Email alert: Mailgun: ${mailgunemail}"
fi
2 changes: 1 addition & 1 deletion lgsm/functions/check_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ fn_deps_detector(){
## Check.
# SteamCMD: Will be removed from required array if no appid is present or non-free repo is not available.
# This will cause SteamCMD to be installed using tar.
if [ -z "${appid}" ]||[ "${deptocheck}" == "steamcmd" ]&&[ "${distroid}" == "debian" ]&& ! grep -qE "^deb .*non-free" /etc/apt/sources.list; then
if [ "${deptocheck}" == "steamcmd" ]&&[ -z "${appid}" ]||[ "${deptocheck}" == "steamcmd" ]&&[ "${distroid}" == "debian" ]&& ! grep -qE "^deb .*non-free" /etc/apt/sources.list; then
array_deps_required=( "${array_deps_required[@]/steamcmd}" )
steamcmdstatus=1
# Java: Added for users using Oracle JRE to bypass check.
Expand Down
2 changes: 1 addition & 1 deletion lgsm/functions/core_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

modulesversion="v21.3.2"
modulesversion="v21.3.3"

# Core

Expand Down
5 changes: 1 addition & 4 deletions lgsm/functions/update_mta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ fn_update_mta_localbuild(){

fn_update_mta_remotebuild(){
# Gets remote build info.
majorversion=$(curl -s https://raw.githubusercontent.com/multitheftauto/mtasa-blue/master/Server/version.h | grep "#define MTASA_VERSION_MAJOR" | awk '{ print $3 }' | sed 's/\r//g')
minorversion=$(curl -s https://raw.githubusercontent.com/multitheftauto/mtasa-blue/master/Server/version.h | grep "#define MTASA_VERSION_MINOR" | awk '{ print $3 }' | sed 's/\r//g')
maintenanceversion=$(curl -s https://raw.githubusercontent.com/multitheftauto/mtasa-blue/master/Server/version.h | grep "#define MTASA_VERSION_MAINTENANCE" | awk '{ print $3 }' | sed 's/\r//g')
remotebuild="${majorversion}.${minorversion}.${maintenanceversion}"
remotebuild=$(curl -s "https://api.github.com/repos/multitheftauto/mtasa-blue/releases/latest" | jq -r '.tag_name')
if [ "${firstcommandname}" != "INSTALL" ]; then
fn_print_dots "Checking remote build: ${remotelocation}"
# Checks if remotebuild variable has been set.
Expand Down
2 changes: 1 addition & 1 deletion linuxgsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v21.3.2"
version="v21.3.3"
shortname="core"
gameservername="core"
commandname="CORE"
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_fctrserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v21.3.2"
version="v21.3.3"
shortname="fctr"
gameservername="fctrserver"
commandname="CORE"
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_jc2server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v21.3.2"
version="v21.3.3"
shortname="jc2"
gameservername="jc2server"
commandname="CORE"
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_mcserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v21.3.2"
version="v21.3.3"
shortname="mc"
gameservername="mcserver"
commandname="CORE"
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_ts3server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v21.3.2"
version="v21.3.3"
shortname="ts3"
gameservername="ts3server"
commandname="CORE"
Expand Down

0 comments on commit 67e1f3f

Please sign in to comment.