Allow Multiple Digit Version Revisions
This commit is contained in:
parent
f2acfab594
commit
b8c0ff0ebf
|
@ -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
|
||||||
|
@ -302,4 +302,4 @@ echo ""
|
||||||
</INLINE>
|
</INLINE>
|
||||||
</FILE>
|
</FILE>
|
||||||
|
|
||||||
</PLUGIN>
|
</PLUGIN>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user