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:
parent
a5cacccc1f
commit
d4f8d3a6d4
@ -1554,6 +1554,9 @@ proc ::rmupdate::get_addon_info {{fetch_available_version 0} {fetch_download_url
|
|||||||
if {[string first "ccurm" $filename] > -1} {
|
if {[string first "ccurm" $filename] > -1} {
|
||||||
set prio [expr {$prio + 2}]
|
set prio [expr {$prio + 2}]
|
||||||
}
|
}
|
||||||
|
if {[string first "ccu3" $filename] > -1} {
|
||||||
|
set prio [expr {$prio + 2}]
|
||||||
|
}
|
||||||
if {$prio > $best_prio} {
|
if {$prio > $best_prio} {
|
||||||
set best_prio $prio
|
set best_prio $prio
|
||||||
set best_href $href
|
set best_href $href
|
||||||
|
Loading…
Reference in New Issue
Block a user