From 8432c8d37c07b096b9dd1e52443818de703d3dd6 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 10 Aug 2016 20:02:26 +0100 Subject: [PATCH] fix_glibc.sh was referenced twice fix_glibc.sh should run though check_glibc.sh only --- lgsm/functions/fix.sh | 6 +----- lgsm/functions/info_glibc.sh | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index 7f27d886c..4a4c0fcf6 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -44,11 +44,7 @@ if [ "${function_selfname}" != "command_install.sh" ]; then elif [ "${gamename}" == "ARMA 3" ]; then fix_arma3.sh fi - - if [ "${gamename}" != "TeamSpeak 3" ]; then - fix_glibc.sh - fi -fi + # fix_glibc.sh is run though check_glibc.sh # Fixes that are run on install only. if [ "${function_selfname}" == "command_install.sh" ]; then diff --git a/lgsm/functions/info_glibc.sh b/lgsm/functions/info_glibc.sh index 44ceeca9a..97d4b3d57 100644 --- a/lgsm/functions/info_glibc.sh +++ b/lgsm/functions/info_glibc.sh @@ -11,6 +11,9 @@ if [ "${gamename}" == "Blade Symphony" ]; then glibcfix="yes" elif [ "${gamename}" == "BrainBread 2" ]; then glibcrequired="2.17" +elif [ "${gamename}" == "Day of Infamy" ]; then + glibcrequired="2.15" + glibcfix="yes" elif [ "${gamename}" == "Double Action: Boogaloo" ]; then glibcrequired="2.15" glibcfix="yes"