diff --git a/scripts/zmupdate.pl b/scripts/zmupdate.pl old mode 100644 new mode 100755 index 7aa64ac3a..aba23ea23 --- a/scripts/zmupdate.pl +++ b/scripts/zmupdate.pl @@ -158,7 +158,7 @@ if ( $check && ZM_CHECK_FOR_UPDATES ) } use strict 'subs'; } - my $req = HTTP::Request->new( GET=>'http://www.zoneminder.com/version' ); + my $req = HTTP::Request->new( GET=>'https://raw.github.com/ZoneMinder/ZoneMinder/master/version' ); my $res = $ua->request($req); if ( $res->is_success ) diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index 75a0a83f3..5fe59b65b 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -163,7 +163,7 @@ if ( $check && ZM_CHECK_FOR_UPDATES ) } use strict 'subs'; } - my $req = HTTP::Request->new( GET=>'http://www.zoneminder.com/version' ); + my $req = HTTP::Request->new( GET=>'https://raw.github.com/ZoneMinder/ZoneMinder/master/version' ); my $res = $ua->request($req); if ( $res->is_success ) diff --git a/version b/version new file mode 100644 index 000000000..dd43a143f --- /dev/null +++ b/version @@ -0,0 +1 @@ +1.26.1