From 93cbcd1dec5731fec2fe50348661b457094f72da Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 17 Jun 2018 14:50:20 +0100 Subject: [PATCH] corrected rpm command --- 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 efc913da3..ac85dba8c 100644 --- a/lgsm/functions/check_deps.sh +++ b/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' depstatus=$? 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=$? fi