소스 검색

added fedora to specify python2

Daniel Gibbs 8 년 전
부모
커밋
76c0bd7b7e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      lgsm/functions/check_deps.sh

+ 3 - 1
lgsm/functions/check_deps.sh

@@ -314,8 +314,10 @@ elif [ -n "$(command -v yum 2>/dev/null)" ]||[ -n "$(command -v dnf 2>/dev/null)
 	# LinuxGSM requirements
 	if [ "${distroversion}" == "6" ]; then
 		array_deps_required=( curl wget util-linux-ng python file gzip bzip2 unzip binutils bc )
+	elif [ "${distroid}" == "fedora" ]; then
+			array_deps_required=( curl wget util-linux python2 file gzip bzip2 unzip binutils bc )
 	elif [ "${distroname}" == *"Amazon Linux AMI"* ]; then
-        	array_deps_required=( curl wget util-linux python27 file gzip bzip2 unzip binutils bc )
+			array_deps_required=( curl wget util-linux python27 file gzip bzip2 unzip binutils bc )
 	else
 		array_deps_required=( curl wget util-linux python file gzip bzip2 unzip binutils bc )
 	fi