mirror of https://github.com/aredn/aredn.git
Fix upgrade typo (#818)
This commit is contained in:
parent
58d662fb05
commit
8f572af4c7
|
@ -415,7 +415,7 @@ if parms.button_dl_fw and parms.dl_fw ~= "default" then
|
|||
local fwimage
|
||||
for _, image in ipairs(fwinfo.images)
|
||||
do
|
||||
if (firmware.type == "bin" and (image.type == "sysupgrade" or image.type == "nand-sysupgrade")) or (firmware_type == "gz" and image.type == "combined") then
|
||||
if (firmware_type == "bin" and (image.type == "sysupgrade" or image.type == "nand-sysupgrade")) or (firmware_type == "gz" and image.type == "combined") then
|
||||
fwimage = {
|
||||
url = fw_versions[parms.dl_fw].target .. "/" .. image.name,
|
||||
sha = image.sha256
|
||||
|
|
Loading…
Reference in New Issue