From b8c0ff0ebf068826deba48a66b2ce2e89b826113 Mon Sep 17 00:00:00 2001 From: Keith Lamprecht <1894492+Nixon506E@users.noreply.github.com> Date: Wed, 11 Aug 2021 08:55:17 -0400 Subject: [PATCH] Allow Multiple Digit Version Revisions --- plugin/NerdPack.plg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/NerdPack.plg b/plugin/NerdPack.plg index 17d1a4ce..68482498 100755 --- a/plugin/NerdPack.plg +++ b/plugin/NerdPack.plg @@ -213,7 +213,7 @@ The 'install' script. #Verify Unraid Version source /etc/unraid-version -VER=${version:0:3} +VER=$(expr "$version" : "\([0-9]*\.[0-9]*\)") if [[ $VER == 6.0 ]]; then echo "Unraid version 6.1 or higher is required" exit 1 @@ -302,4 +302,4 @@ echo "" - \ No newline at end of file +