Skip to content

Commit

Permalink
Merge pull request #2 from charsbar/no_binary_no_check
Browse files Browse the repository at this point in the history
don't check gpg version if gpg does not exist
  • Loading branch information
audreyt committed Nov 28, 2012
2 parents b44df98 + 5419351 commit 4a0930f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Module/Signature.pm
Expand Up @@ -143,7 +143,7 @@ sub _verify {
}

sub _has_gpg {
my $gpg = _which_gpg();
my $gpg = _which_gpg() or return;
`$gpg --version` =~ /GnuPG.*?(\S+)\s*$/m or return;
return $1;
}
Expand Down

0 comments on commit 4a0930f

Please sign in to comment.