mirror of
				https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
				synced 2023-10-10 11:37:40 +00:00 
			
		
		
		
	Fix handling of unknown firmware version
This commit is contained in:
		| @@ -1037,9 +1037,9 @@ proc ::rmupdate::download_firmware {{download_url ""} {version ""}} { | ||||
| 	variable install_log | ||||
|  | ||||
| 	if {$version == ""} { | ||||
| 		set image_file "${img_dir}/RaspberryMatic-${version}.img" | ||||
| 	} else { | ||||
| 		set image_file "${img_dir}/RaspberryMatic-unknown.img" | ||||
| 	} else { | ||||
| 		set image_file "${img_dir}/RaspberryMatic-${version}.img" | ||||
| 	} | ||||
| 	if {$download_url == ""} { | ||||
| 		foreach e [get_available_firmware_downloads] { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user