Allow Multiple Digit Version Revisions

This commit is contained in:
Keith Lamprecht 2021-08-11 08:55:17 -04:00 committed by GitHub
parent f2acfab594
commit b8c0ff0ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ The 'install' script.
<INLINE> <INLINE>
#Verify Unraid Version #Verify Unraid Version
source /etc/unraid-version source /etc/unraid-version
VER=${version:0:3} VER=$(expr "$version" : "\([0-9]*\.[0-9]*\)")
if [[ $VER == 6.0 ]]; then if [[ $VER == 6.0 ]]; then
echo "Unraid version 6.1 or higher is required" echo "Unraid version 6.1 or higher is required"
exit 1 exit 1