The following commit has been merged in the master branch:
commit ffd6804def0f898cb61bd421330a2920dd960a65
Author: Guillem Jover <[email protected]>
Date:   Thu Dec 15 00:34:50 2011 +0100

    Dpkg::Source::Package: Add missing parenthesis in find_command() call
    
    Regression introduced in commit 383247f0d2dfbd3d0d6388f87869ac1abaa8b7cd.
    
    Closes: #652113
    
    Reported-by: Vincent Danjean <[email protected]>

diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 502d402..693eda5 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -344,7 +344,7 @@ sub check_signature {
     my @exec;
     if (find_command('gpgv')) {
         push @exec, "gpgv";
-    } elsif (find_command('gpg') {
+    } elsif (find_command('gpg')) {
         push @exec, "gpg", "--no-default-keyring", "-q", "--verify";
     }
     if (scalar(@exec)) {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to