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

fix(check): correct if on line 434

Daniel Gibbs пре 7 година
родитељ
комит
989c1c142f
1 измењених фајлова са 1 додато и 1 уклоњено
  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 )