[fix, Kindle] Fix i.MX 6/7 detection pattern (#4539)

Some variants have a space before the number, others don't :/.

Followup to #4475
This commit is contained in:
NiLuJe
2019-02-01 15:37:15 +01:00
committed by Frans de Jonge
parent 8207e4bdf2
commit 27b6c1546a

View File

@@ -60,7 +60,7 @@ function OTAManager:_isKindleWarioOrMore()
-- If we've got a Hardware string, check if it mentions an i.MX 6 or 7...
if cpu_hw then
if cpu_hw:find("i.MX [6-7]") then
if cpu_hw:find("i.MX%s?[6-7]") then
return true
else
return false