Priorize ccu3 addons

This commit is contained in:
Jan Schneider 2018-12-22 20:41:00 +01:00
parent a5cacccc1f
commit d4f8d3a6d4
1 changed files with 3 additions and 0 deletions

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