Explorar el Código

fix(check): correct if on line 434

Daniel Gibbs hace 7 años
padre
commit
989c1c142f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lgsm/functions/check_deps.sh

+ 1 - 1
lgsm/functions/check_deps.sh

@@ -431,7 +431,7 @@ fn_deps_build_redhat(){
 	## CentOS 6
 	if [ "${distroversion}" == "6" ]; then
 		array_deps_required=( epel-release curl wget util-linux-ng python file gzip bzip2 unzip binutils bc jq )
-	if [ "${distroversion}" == "7" ]; then
+	elif [ "${distroversion}" == "7" ]; then
 		array_deps_required=( epel-release curl wget util-linux python file gzip bzip2 unzip binutils bc jq )
 	elif [ "${distroid}" == "fedora" ]; then
 			array_deps_required=( curl wget util-linux python2 file gzip bzip2 unzip binutils bc jq )