Browse Source

stray $

pull/1657/head
Daniel Gibbs 8 years ago
parent
commit
a758192c97
  1. 2
      lgsm/functions/check_deps.sh

2
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

Loading…
Cancel
Save