From 2d8320c99182f5dc6088076be0b8e95bd08c2393 Mon Sep 17 00:00:00 2001 From: sepehr Date: Fri, 10 Jan 2025 17:51:35 +0300 Subject: [PATCH] BUG FIX: Wrong arch checking for CHR routers --- py/libs/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/libs/util.py b/py/libs/util.py index a52c126..34b3ea8 100644 --- a/py/libs/util.py +++ b/py/libs/util.py @@ -579,7 +579,7 @@ def check_update(options,router=False): log.error(e) pass upgrade=False - if 'x86' not in result['board-name'] and result['current-firmware']!= result['upgrade-firmware'] and result['board-name']!='x86': + if 'x86' not in arch and result['current-firmware']!= result['upgrade-firmware'] and result['board-name']!='x86': upgrade=True if _latest_version and _installed_version < _latest_version: return True, _installed_version,arch,upgrade