Browse Source

corrected rpm command

pull/1936/head
Daniel Gibbs 7 years ago
parent
commit
93cbcd1dec
  1. 2
      lgsm/functions/check_deps.sh

2
lgsm/functions/check_deps.sh

@ -77,7 +77,7 @@ fn_deps_detector(){
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=$? depstatus=$?
elif [ -n "$(command -v rpm 2>/dev/null)" ]; then elif [ -n "$(command -v rpm 2>/dev/null)" ]; then
rpm -q list installed "${deptocheck}" > /dev/null 2>&1 rpm -q "${deptocheck}" > /dev/null 2>&1
depstatus=$? depstatus=$?
fi fi

Loading…
Cancel
Save