Sfoglia il codice sorgente

added zlib as requirement for Hurtworld and Rust

Daniel Gibbs 8 anni fa
parent
commit
885d5a7087
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      lgsm/functions/check_deps.sh

+ 5 - 0
lgsm/functions/check_deps.sh

@@ -195,6 +195,9 @@ if [ -n "$(command -v dpkg-query 2>/dev/null)" ]; then
 	# Factorio
 	elif [ "${gamename}" == "Factorio" ]; then
 		array_deps_required+=( xz-utils )
+	# Hurtword/Rust
+	elif [ "${gamename}" == "Hurtword" ]||[ "${gamename}" == "Rust" ]; then
+		array_deps_required+=( lib32z1 )
 	# Project Zomboid and Minecraft
 	elif [ "${engine}" ==  "projectzomboid" ]||[ "${engine}" == "lwjgl2" ]; then
 		javaversion=$(java -version 2>&1 | grep "version")
@@ -276,6 +279,8 @@ elif [ -n "$(command -v yum 2>/dev/null)" ]; then
 	# Factorio
 	elif [ "${gamename}" == "Factorio" ]; then
 		array_deps_required+=( xz )
+	elif [ "${gamename}" == "Hurtword" ]||[ "${gamename}" == "Rust" ]; then
+		array_deps_required+=( zlib-devel )
 	# Project Zomboid and Minecraft
 	elif [ "${engine}" ==  "projectzomboid" ]||[ "${engine}" == "lwjgl2" ]; then
 		javaversion=$(java -version 2>&1 | grep "version")