Skip to content

Commit

Permalink
fix update check
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed May 31, 2018
1 parent 2e0ba31 commit a86bc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon_files/node-red/update_check.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if { [info exists cmd ] && $cmd == "download"} {
puts "<html><head><meta http-equiv='refresh' content='0; url=$downloadURL' /></head></html>"
} else {
catch {
[regexp "tag_name\": \"v(\[0-9\]+\.\[0-9\]+\.\[0-9\]+[a-z0-9-.]*)" [ exec /usr/bin/env wget -qO- --no-check-certificate $checkURL ] dummy newversion]
[regexp "tag_name\": \"v(\[0-9\]+\.\[0-9\]+\.\[0-9\]+\[a-z0-9-.\]*)" [ exec /usr/bin/env wget -qO- --no-check-certificate $checkURL ] dummy newversion]
}
if { [info exists newversion] } {
puts -nonewline $newversion
Expand Down

0 comments on commit a86bc29

Please sign in to comment.