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

Priorize ccu3 addons

This commit is contained in:
Jan Schneider 2018-12-22 20:41:00 +01:00
parent a5cacccc1f
commit d4f8d3a6d4

View File

@ -1554,6 +1554,9 @@ proc ::rmupdate::get_addon_info {{fetch_available_version 0} {fetch_download_url
if {[string first "ccurm" $filename] > -1} {
set prio [expr {$prio + 2}]
}
if {[string first "ccu3" $filename] > -1} {
set prio [expr {$prio + 2}]
}
if {$prio > $best_prio} {
set best_prio $prio
set best_href $href