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 +