From f77bfa5b1b623f26eedf0d3cb1710fa0579bfb6d Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 31 Jan 2016 22:13:17 +0000 Subject: [PATCH] dev/null --- functions/check_deps.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/check_deps.sh b/functions/check_deps.sh index 07f67d719..14b1d71c3 100644 --- a/functions/check_deps.sh +++ b/functions/check_deps.sh @@ -13,7 +13,7 @@ if [ -n "$(command -v dpkg-query)" ]; then dpkg-query -W -f='${Status}' ${deptocheck} 2>/dev/null| grep -q -P '^install ok installed$' depstatus=$? elif [ -n "$(command -v yum)" ]; then - yum -q list installed ${deptocheck} 2>/dev/null + yum -q list installed ${deptocheck} > /dev/null 2>&1 depstatus=$? fi if [ "${depstatus}" == "0" ]; then @@ -91,7 +91,6 @@ fn_check_loop(){ if [ -n "$(command -v dpkg-query)" ]; then # Generate array of missing deps array_deps_missing=() - fn_printdots "Checking dependencies" # LGSM requirement for curl array_deps_required=( curl ca-certificates ) @@ -138,7 +137,6 @@ if [ -n "$(command -v dpkg-query)" ]; then elif [ -n "$(command -v yum)" ]; then # Generate array of missing deps array_deps_missing=() - fn_printdots "Checking dependencies" # LGSM requirement for curl array_deps_required=( curl )