1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

Fix get_available_firmware_downloads

This commit is contained in:
Jan Schneider 2017-09-04 22:53:49 +02:00
parent 6c0edcbf8e
commit 183215b6d4

View File

@ -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