Move version check from zoneminder.com to repository

This commit is contained in:
Chris Wiggins 2013-09-05 23:40:03 +12:00
parent c8ad6ae656
commit e792c8eb44
3 changed files with 3 additions and 2 deletions

View 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/chriswiggins/ZoneMinder/master/version' );
my $res = $ua->request($req);
if ( $res->is_success )

View File

@ -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 )

1
version Normal file
View File

@ -0,0 +1 @@
1.26.1