mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
include build identifier in FILE_VERSION
change cut to return field 2 and 3 instead of just 2
This commit is contained in:
parent
9fc45daa26
commit
117f92269d
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ parseVersion() {
|
||||||
if [ "${REDHAT}" = "yes" ]; then
|
if [ "${REDHAT}" = "yes" ]; then
|
||||||
cut -f2- -d- <<< "$1" | cut -f1-4 -d.
|
cut -f2- -d- <<< "$1" | cut -f1-4 -d.
|
||||||
elif [ "${DISTRO}" = "synology" ]; then
|
elif [ "${DISTRO}" = "synology" ]; then
|
||||||
cut -f2 -d- <<< "$1"
|
cut -f2-3 -d- <<< "$1"
|
||||||
else
|
else
|
||||||
cut -f2 -d_ <<< "$1"
|
cut -f2 -d_ <<< "$1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue