[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.14-78-g8fd63ce



The following commit has been merged in the master branch:
commit 8fd63cef23e79f9251c3a3370798f7b9a6fef05c
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Jul 22 10:35:06 2013 +0200

    c/phppear.pm: Fix mixed boolean operators
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/phppear.pm b/checks/phppear.pm
index 2623082..3d110ff 100644
--- a/checks/phppear.pm
+++ b/checks/phppear.pm
@@ -132,7 +132,7 @@ sub run {
     # Check rules
     if (defined($package_xml) || defined($package2_xml) || defined($channel_xml) || defined($composer_json)) {
         my $rules = $info->debfiles('rules');
-        if (!-l $rules or (-f $rules and is_ancestor_of($info->debfiles, $rules))) {
+        if (not -l $rules or (-f $rules and is_ancestor_of($info->debfiles, $rules))) {
             my $has_buildsystem_phppear = 0;
             my $has_addon_phppear = 0;
             my $has_addon_phpcomposer= 0;
@@ -164,7 +164,7 @@ sub run {
                 if (!$has_addon_phppear) {
                     tag 'missing-pkg-php-tools-addon', 'phppear'
                 }
-                if (($package_type eq 'extsrc') and !$has_addon_php5) {
+                if (($package_type eq 'extsrc') and not $has_addon_php5) {
                     tag 'missing-pkg-php-tools-addon', 'php5'
                 }
             }

-- 
Debian package checker


Reply to: