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 1/2] 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 + From c7a5f882fdaeeeee75f0a1a83bc13e1be8512326 Mon Sep 17 00:00:00 2001 From: Keith Lamprecht <1894492+Nixon506E@users.noreply.github.com> Date: Wed, 11 Aug 2021 08:57:06 -0400 Subject: [PATCH 2/2] Allow Multiple Digit Version Revisions --- .../local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php index ebed12c5..b99cf525 100644 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php @@ -1,6 +1,6 @@