Przeglądaj źródła

added gperftools-libs.i686/libtcmalloc-minimal4:i386 to tf2 deps

Daniel Gibbs 8 lat temu
rodzic
commit
3aa9cb18d2
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      lgsm/functions/check_deps.sh

+ 6 - 0
lgsm/functions/check_deps.sh

@@ -183,6 +183,9 @@ if [ -n "$(command -v dpkg-query 2>/dev/null)" ]; then
 	# Brainbread 2 ,Don't Starve Together & Team Fortress 2
 	elif [ "${gamename}" == "Brainbread 2" ]||[ "${gamename}" == "Don't Starve Together" ]||[ "${gamename}" == "Team Fortress 2" ]; then
 		array_deps_required+=( libcurl4-gnutls-dev:i386 )
+		if [ "${gamename}" == "Team Fortress 2" ]; then
+			array_deps_required+=( libtcmalloc-minimal4:i386 )
+		fi
 	# Battlefield: 1942
 	elif [ "${gamename}" == "Battlefield: 1942" ]; then
 		array_deps_required+=( libncurses5:i386 )
@@ -258,6 +261,9 @@ elif [ -n "$(command -v yum 2>/dev/null)" ]; then
 	# Brainbread 2, Don't Starve Together & Team Fortress 2
 	elif [ "${gamename}" == "Brainbread 2" ]||[ "${gamename}" == "Don't Starve Together" ]||[ "${gamename}" == "Team Fortress 2" ]; then
 		array_deps_required+=( libcurl.i686 )
+		if [ "${gamename}" == "Team Fortress 2" ]; then
+			array_deps_required+=( gperftools-libs.i686 )
+		fi
 	# Battlefield: 1942
 	elif [ "${gamename}" == "Battlefield: 1942" ]; then
 		array_deps_required+=( ncurses-libs.i686 )