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

[SCM] Debian package checker branch, infra-513663, updated. 2.5.0-rc2-120-gbca20b5



The following commit has been merged in the infra-513663 branch:
commit 129d75e3c30da353afa90f96f61eae9c179c7687
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Apr 12 09:52:55 2011 +0200

    Update Lab::Package entry_exists to cope with binaries

diff --git a/lib/Lab/Package.pm b/lib/Lab/Package.pm
index a580957..e957a32 100644
--- a/lib/Lab/Package.pm
+++ b/lib/Lab/Package.pm
@@ -159,7 +159,9 @@ sub entry_exists(){
 
     # Check if the relevant symlink exists.
     if ($pkg_type eq 'changes'){
-	return 1 if ( -l "$base_dir/changes");
+	return 1 if -l "$base_dir/changes";
+    } elsif ($pkg_type eq 'binary' or $pkg_type eq 'udeb') {
+	return 1 if -l "$base_dir/deb";
     }
 
     # No unpack level and no symlink => the entry does not

-- 
Debian package checker


Reply to: