From 27b6c1546a620cb651b7bbd9a8d1b242480ddec7 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Fri, 1 Feb 2019 15:37:15 +0100 Subject: [PATCH] [fix, Kindle] Fix i.MX 6/7 detection pattern (#4539) Some variants have a space before the number, others don't :/. Followup to #4475 --- frontend/ui/otamanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/otamanager.lua b/frontend/ui/otamanager.lua index e9c4bf0f2..be723e3f8 100644 --- a/frontend/ui/otamanager.lua +++ b/frontend/ui/otamanager.lua @@ -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