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

Remove http headers from update check output

This commit is contained in:
Jan Schneider 2018-11-27 19:21:33 +01:00
parent 446ef06f3f
commit 88272dc273

View File

@ -1472,7 +1472,7 @@ proc ::rmupdate::get_addon_info {{fetch_available_version 0} {fetch_download_url
set addons(${id}::cgi) $cgi
set addons(${id}::cgi_interpreter) $cgi_interpreter
set ::env(QUERY_STRING) ""
set available_version [exec $cgi_interpreter "$cgi"]
set available_version [lindex [split [string map {"\r" ""} [exec $cgi_interpreter "$cgi"]] "\n\n"] end]
#set available_version [exec /usr/bin/wget "http://localhost${value}" --quiet --output-document=-]
set addons(${id}::available_version) $available_version
}