Преглед изворни кода

fix_glibc.sh was referenced twice

fix_glibc.sh should run though check_glibc.sh only
Daniel Gibbs пре 9 година
родитељ
комит
8432c8d37c
2 измењених фајлова са 4 додато и 5 уклоњено
  1. 1 5
      lgsm/functions/fix.sh
  2. 3 0
      lgsm/functions/info_glibc.sh

+ 1 - 5
lgsm/functions/fix.sh

@@ -44,11 +44,7 @@ if [ "${function_selfname}" != "command_install.sh" ]; then
 	elif [ "${gamename}" == "ARMA 3" ]; then
 	elif [ "${gamename}" == "ARMA 3" ]; then
 		fix_arma3.sh
 		fix_arma3.sh
 	fi
 	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.
 # Fixes that are run on install only.
 if [ "${function_selfname}" == "command_install.sh" ]; then
 if [ "${function_selfname}" == "command_install.sh" ]; then

+ 3 - 0
lgsm/functions/info_glibc.sh

@@ -11,6 +11,9 @@ if [ "${gamename}" == "Blade Symphony" ]; then
 	glibcfix="yes"
 	glibcfix="yes"
 elif [ "${gamename}" == "BrainBread 2" ]; then
 elif [ "${gamename}" == "BrainBread 2" ]; then
 	glibcrequired="2.17"
 	glibcrequired="2.17"
+elif [ "${gamename}" == "Day of Infamy" ]; then
+	glibcrequired="2.15"
+	glibcfix="yes"
 elif [ "${gamename}" == "Double Action: Boogaloo" ]; then
 elif [ "${gamename}" == "Double Action: Boogaloo" ]; then
 	glibcrequired="2.15"
 	glibcrequired="2.15"
 	glibcfix="yes"
 	glibcfix="yes"