From 94af491dfe43011136b8e5ef06feded04842f722 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 31 Jan 2016 21:53:43 +0000 Subject: [PATCH] removed stray fi --- functions/check_deps.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/functions/check_deps.sh b/functions/check_deps.sh index 0e21baef8..94899b20b 100644 --- a/functions/check_deps.sh +++ b/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