Skip to content

Commit

Permalink
use common function
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed May 19, 2015
1 parent b36d0f9 commit 57efdd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions minecraft/download.cgi
Expand Up @@ -40,8 +40,7 @@ my ($host, $port, $page, $ssl) = &parse_http_url($progress_callback_url);
&http_download($host, $port, $page, $temp, undef, \&progress_callback, $ssl);

# Check if different
my $jar = $config{'minecraft_jar'} ||
$config{'minecraft_dir'}."/"."minecraft_server.jar";
my $jar = &get_minecraft_jar();
my $old_md5 = &md5_checksum($jar);
my $new_md5 = &md5_checksum($temp);

Expand Down

0 comments on commit 57efdd9

Please sign in to comment.