Explorar o código

corrected rpm command

Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
93cbcd1dec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/check_deps.sh

+ 1 - 1
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