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

Added support for Double Action: Boogaloo

Daniel Gibbs пре 11 година
родитељ
комит
3202078232
2 измењених фајлова са 15 додато и 4 уклоњено
  1. 7 2
      functions/fn_install_config
  2. 8 2
      functions/fn_install_glibcfix

+ 7 - 2
functions/fn_install_config

@@ -1,8 +1,8 @@
 #!/bin/bash
 # LGSM fn_server function
 # Author: Daniel Gibbs
-# Website: http://danielgibbs.co.uk
-# Version: 210115
+# Website: http://gameservermanagers.com
+# Version: 220315
 
 fn_arma3config(){
 cp -v lgsm-default.cfg "${servercfgfullpath}"
@@ -174,6 +174,11 @@ elif [ "${gamename}" == "Day of Defeat: Source" ]; then
 	wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/DayOfDefeatSource/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
 	sleep 1
 	fn_sourceconfig
+elif [ "${gamename}" == "Double Action: Boogaloo" ]; then
+	echo -e "downloading lgsm-default.cfg...\c"
+	wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/DoubleActionBoogaloo/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
+	sleep 1
+	fn_sourceconfig
 elif [ "${gamename}" == "Fistful of Frags" ]; then
 	echo -e "downloading lgsm-default.cfg...\c"
 	wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq

+ 8 - 2
functions/fn_install_glibcfix

@@ -1,8 +1,8 @@
 #!/bin/bash
 # LGSM fn_install_glibcfix function
 # Author: Daniel Gibbs
-# Website: http://danielgibbs.co.uk
-# Version: 210115
+# Website: http://gameservermanagers.com
+# Version: 220315
 
 fn_glibcfixmsg(){
 echo ""
@@ -52,6 +52,12 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215
 		glibcversion="2.15"
 		fn_glibcfixmsg
 		cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}/libstdc++.so.6"
+	# Double Action: Boogaloo
+	elif [ "${gamename}" == "Double Action: Boogaloo" ]; then
+		glibcversion="2.15"
+		fn_glibcfixmsg
+		cd "${filesdir}"
+		wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/blob/master/DoubleActionBoogaloo/dependencies/libm.so.6
 	# Fistful of Frags
 	elif [ "${gamename}" == "Fistful of Frags" ]; then
 		glibcversion="2.15"