mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-14 02:26:56 -07:00
Query for plexmediaserver* during package research
Add an asterisk to dpkg-query to encompass more Plex package name varieties.
This commit is contained in:
parent
180fc1687f
commit
30a9616e8e
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ parseVersion() {
|
|||
|
||||
getPlexVersion() {
|
||||
if [ "${REDHAT}" != "yes" ]; then
|
||||
dpkg-query --showformat='${Version}' --show plexmediaserver 2>/dev/null
|
||||
dpkg-query --showformat='${Version}' --show plexmediaserver* 2>/dev/null
|
||||
elif hash rpm 2>/dev/null; then
|
||||
local rpmtemp
|
||||
if rpmtemp=$(rpm -q plexmediaserver); then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue