From a758192c978a42b57a94d6975b98e22981dd62f2 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 12 Oct 2017 19:38:02 +0100 Subject: [PATCH] stray $ --- lgsm/functions/check_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index 6ac52ded3..821f81b09 100644 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -19,7 +19,7 @@ fn_deps_detector(){ deptocheck="${javaversion}" unset javacheck elif [ -n "$(command -v apt-get 2>/dev/null)" ]; then - dpkg-query -W -f='${Status}' ${deptocheck} 2>/dev/null | grep -q -P '^install ok installed$' + dpkg-query -W -f='${Status}' ${deptocheck} 2>/dev/null | grep -q -P '^install ok installed' depstatus=$? elif [ -n "$(command -v yum 2>/dev/null)" ]; then yum -q list installed ${deptocheck} > /dev/null 2>&1