Explorar o código

removed stray fi

Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
94af491dfe
Modificáronse 1 ficheiros con 5 adicións e 6 borrados
  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