mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Correct regex
This commit is contained in:
parent
59666ac6fc
commit
e35d61a4f6
@ -152,7 +152,7 @@ proc process {} {
|
||||
return [rmupdate::get_addon_info 1 1 1]
|
||||
} elseif {[lindex $path 1] == "start_install_firmware"} {
|
||||
regexp {\"download_url\"\s*:\s*\"([^\"]*)\"} $data match download_url
|
||||
regexp {\"version\"\s*:\s*\"([\d\.\-]*)\"} $data match version
|
||||
regexp {\"version\"\s*:\s*\"([a-f\d\.\-]*)\"} $data match version
|
||||
regexp {\"language\"\s*:\s*\"([^\"]+)\"} $data match lang
|
||||
regexp {\"reboot\"\s*:\s*(true|false)} $data match reboot
|
||||
regexp {\"dryrun\"\s*:\s*(true|false)} $data match dryrun
|
||||
|
Loading…
x
Reference in New Issue
Block a user