mirror of
https://github.com/MikroWizard/mikroman.git
synced 2025-07-02 10:04:30 +02:00
BUG FIX: Wrong arch checking for CHR routers
This commit is contained in:
parent
11b965f1fd
commit
2d8320c991
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ def check_update(options,router=False):
|
||||||
log.error(e)
|
log.error(e)
|
||||||
pass
|
pass
|
||||||
upgrade=False
|
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
|
upgrade=True
|
||||||
if _latest_version and _installed_version < _latest_version:
|
if _latest_version and _installed_version < _latest_version:
|
||||||
return True, _installed_version,arch,upgrade
|
return True, _installed_version,arch,upgrade
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue