From 74677362066cc1aafb78fb62cd008de9e0746d61 Mon Sep 17 00:00:00 2001 From: Alexander Hurd Date: Sat, 22 Oct 2016 16:24:17 -0400 Subject: [PATCH] updates --- ProjectCars/pcserver | 1 - lgsm/functions/info_glibc.sh | 3 +++ lgsm/functions/install_config.sh | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ProjectCars/pcserver b/ProjectCars/pcserver index fe583240f..e2564fd6f 100755 --- a/ProjectCars/pcserver +++ b/ProjectCars/pcserver @@ -56,7 +56,6 @@ branch="" # Server Details servicename="projectcars-server" gamename="Project Cars" -#engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" diff --git a/lgsm/functions/info_glibc.sh b/lgsm/functions/info_glibc.sh index f7f333d63..a477f95f8 100644 --- a/lgsm/functions/info_glibc.sh +++ b/lgsm/functions/info_glibc.sh @@ -41,6 +41,9 @@ elif [ "${gamename}" == "Mumble" ]; then elif [ "${gamename}" == "No More Room in Hell" ]; then glibcrequired="2.15" glibcfix="yes" +elif [ "${gamename}" == "Project Cars" ]; then + glibcrequired="2.1" + glibcfix="no" elif [ "${gamename}" == "Quake 2" ]; then glibcrequired="2.0" glibcfix="no" diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index 43d0a0000..4193fcf55 100644 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -291,6 +291,12 @@ elif [ "${gamename}" == "Project Zomboid" ]; then fn_fetch_default_config fn_default_config_remote fn_set_config_vars +elif [ "${gamename}" == "Project Cars" ]; then + gamedirname="ProjectCars" + array_configs+=( server.cfg ) + fn_fetch_default_config + fn_default_config_remote + fn_set_config_vars elif [ "${gamename}" == "Quake 2" ]; then gamedirname="Quake2" array_configs+=( server.cfg )