From 5eb71d5cf62f458481fb2a2ecdd0e9b4d60f92b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
Date: Wed, 24 Apr 2019 13:14:21 +0200
Subject: [PATCH] lists: fix match of supported model for Turris 1.x

---
 lists/utils.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lists/utils.m4 b/lists/utils.m4
index 28c6e2eef..9268d41b6 100644
--- a/lists/utils.m4
+++ b/lists/utils.m4
@@ -60,7 +60,7 @@ if not board then
 		board = "mox"
 	elseif model:match("[Oo]mnia") then
 		board = "omnia"
-	elseif model:match("^[Tt]urris$") or model:match("[Tt]urris 1.x") then
+	elseif model:match("^[Tt]urris$") or model:match("[Tt]urris ?1\.?x") then
 		board = "turris1x"
 	else
 		DIE("Unsupported Turris model: " .. tostring(model))
-- 
GitLab