use rpm -q to get status
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
bcc7d0e795
commit
a778dee9fc
1 changed files with 1 additions and 1 deletions
|
@ -27,4 +27,4 @@ else
|
||||||
name="$__object_id"
|
name="$__object_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pacman -Q "$name" 2>/dev/null | awk '{ print $2 }'
|
rpm -q "$name" 2>/dev/null || true
|
||||||
|
|
Loading…
Reference in a new issue