From 183215b6d41d292f252c73201b42eafe165d6873 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 4 Sep 2017 22:53:49 +0200 Subject: [PATCH] Fix get_available_firmware_downloads --- addon/lib/rmupdate.tcl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index 44e3b78..560fff8 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -417,7 +417,10 @@ proc ::rmupdate::get_available_firmware_downloads {} { } } #write_log $href - lappend download_urls "https://github.com${href}.zip" + if {[string first "https://" $href] == -1} { + set href "https://github.com${href}" + } + lappend download_urls "${href}.zip" } } return $download_urls