From 117f92269d8c796e2c6dc9ea957fa0dd9042b117 Mon Sep 17 00:00:00 2001 From: myellen Date: Wed, 28 Nov 2018 16:19:02 -0500 Subject: [PATCH] include build identifier in FILE_VERSION change cut to return field 2 and 3 instead of just 2 --- plexupdate-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate-core b/plexupdate-core index eea5cd6..5da6fa1 100755 --- a/plexupdate-core +++ b/plexupdate-core @@ -229,7 +229,7 @@ parseVersion() { if [ "${REDHAT}" = "yes" ]; then cut -f2- -d- <<< "$1" | cut -f1-4 -d. elif [ "${DISTRO}" = "synology" ]; then - cut -f2 -d- <<< "$1" + cut -f2-3 -d- <<< "$1" else cut -f2 -d_ <<< "$1" fi