Move version check from zoneminder.com to repository
This commit is contained in:
parent
c8ad6ae656
commit
e792c8eb44
|
@ -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/chriswiggins/ZoneMinder/master/version' );
|
||||
my $res = $ua->request($req);
|
||||
|
||||
if ( $res->is_success )
|
||||
|
|
|
@ -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/chriswiggins/ZoneMinder/master/version' );
|
||||
my $res = $ua->request($req);
|
||||
|
||||
if ( $res->is_success )
|
||||
|
|
Loading…
Reference in New Issue