Kaynağa Gözat

refactor(check): add epel as a requirement for centos (#2115)

Daniel Gibbs 7 yıl önce
ebeveyn
işleme
48d4673ce7
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      lgsm/functions/check_deps.sh

+ 3 - 1
lgsm/functions/check_deps.sh

@@ -430,7 +430,9 @@ fn_deps_build_redhat(){
 	# LinuxGSM requirements
 	## CentOS 6
 	if [ "${distroversion}" == "6" ]; then
-		array_deps_required=( curl wget util-linux-ng python file gzip bzip2 unzip binutils bc jq )
+		array_deps_required=( epel-release curl wget util-linux-ng python file gzip bzip2 unzip binutils bc jq )
+	if [ "${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 )
 	elif [[ "${distroname}" == *"Amazon Linux AMI"* ]]; then