mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-07-08 04:05:32 -04:00
Merge pull request #111 from chriswiggins/master
Use GitHub repo for version check
This commit is contained in:
2
scripts/zmupdate.pl
Normal file → Executable file
2
scripts/zmupdate.pl
Normal file → Executable file
@@ -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 )
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user