mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Fix language support
This commit is contained in:
parent
27494b7cb5
commit
30b7317fee
@ -1217,8 +1217,8 @@ proc ::rmupdate::delete_firmware_image {version} {
|
||||
|
||||
proc ::rmupdate::install_firmware {{download_url ""} {version ""} {lang ""} {reboot 1} {keep_download 0} {dryrun 0}} {
|
||||
variable language
|
||||
if {$lang != ""} {
|
||||
set language $lang
|
||||
if {[regexp {^([a-z]][a-z])} $lang match l]} {
|
||||
set language [string tolower $l]
|
||||
}
|
||||
if {[get_running_installation] != ""} {
|
||||
error [i18n "Another install process is running."]
|
||||
|
Loading…
Reference in New Issue
Block a user