소스 검색

removed stray fi

Daniel Gibbs 10 년 전
부모
커밋
94af491dfe
1개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 5 6
      functions/check_deps.sh

+ 5 - 6
functions/check_deps.sh

@@ -16,12 +16,11 @@ elif [ -n "$(command -v yum)" ]; then
 	yum -q list installed ${deptocheck} 2>/dev/null
 	depstatus=$?
 fi	
-	if [ "${depstatus}" == "0" ]; then
-		missingdep=0
-	else
-		# if missing dependency is flagged
-		missingdep=1
-	fi
+if [ "${depstatus}" == "0" ]; then
+	missingdep=0
+else
+	# if missing dependency is flagged
+	missingdep=1
 fi
 
 # Add missing dependencies are added to array_deps_missing array