From 3a9c118d837f4936076ef783394d45e88645b4b0 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 13 Mar 2018 23:03:59 +0100 Subject: [PATCH] Call update cgi via wget not directly --- addon/lib/rmupdate.tcl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index 7302f0b..628585e 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -1254,8 +1254,9 @@ proc ::rmupdate::get_addon_info {{fetch_available_version 0} {fetch_download_url set addons(${id}::${keyl}) $value if {$keyl == "update" && $fetch_available_version == 1} { catch { - set cgi "${addons_www_dir}/[string range $value 8 end]" - set available_version [exec tclsh "$cgi"] + #set cgi "${addons_www_dir}/[string range $value 8 end]" + #set available_version [exec tclsh "$cgi"] + set available_version [exec /usr/bin/wget "http://localhost${value}" --quiet --output-document=-] set addons(${id}::available_version) $available_version } }