Просмотр исходного кода

added gzip as a required dependency #977

SteamCMD required gzip to extract itself. I would be suprised if there
was a distro without this built in. However will add this just in case.
Daniel Gibbs 9 лет назад
Родитель
Сommit
4bd108ad05
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      lgsm/functions/check_deps.sh

+ 3 - 3
lgsm/functions/check_deps.sh

@@ -138,7 +138,7 @@ if [ -n "$(command -v dpkg-query)" ]; then
 	array_deps_missing=()
 
 	# LGSM requirements
-	array_deps_required=( curl ca-certificates file bsdmainutils util-linux python )
+	array_deps_required=( curl ca-certificates file bsdmainutils util-linux python gzip )
 
 	# All servers except ts3 require tmux
 	if [ "${executable}" != "./ts3server_startscript.sh" ]; then
@@ -194,9 +194,9 @@ elif [ -n "$(command -v yum)" ]; then
 
 	# LGSM requirements
 	if [ "${distroversion}" == "6" ]; then
-		array_deps_required=( curl util-linux-ng python file )
+		array_deps_required=( curl util-linux-ng python file gzip )
 	else
-		array_deps_required=( curl util-linux python file )
+		array_deps_required=( curl util-linux python file gzip )
 	fi
 
 	# All servers except ts3 require tmux