[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.6.5-6-g4e4605e

Modestas Vainius modax at alioth.debian.org
Sun Feb 21 11:02:49 UTC 2010


The following commit has been merged in the master branch:
commit 5a3e9c43462ae4e7f6e3162beedebfe07be2ecad
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Sun Feb 21 12:31:00 2010 +0200

    `pkgkde-symbolshelper batchpatch`: improve error messages.
---
 debian/changelog                   |    1 +
 symbolshelper/pkgkde-symbolshelper |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3dd72ec..4272457 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ pkg-kde-tools (0.6.6~pre1) UNRELEASED; urgency=low
     code.
   * Update code stolen from dpkg-dev to current git master.
   * pkgkde-deb2symbols: be quiet when dumping symbol file.
+  * `pkgkde-symbolshelper batchpatch`: improve error messages.
 
  -- Modestas Vainius <modax at debian.org>  Fri, 19 Feb 2010 20:30:09 +0200
 
diff --git a/symbolshelper/pkgkde-symbolshelper b/symbolshelper/pkgkde-symbolshelper
index 3072a2e..409c385 100755
--- a/symbolshelper/pkgkde-symbolshelper
+++ b/symbolshelper/pkgkde-symbolshelper
@@ -611,9 +611,9 @@ sub subcommand_batchpatch {
 	    @packages = grep { exists $packages{$_} } get_all_packages();
 	}
 
-	error("no packages specified and none found in debian/control")
-	    unless @packages;
 	error("no valid patches found") unless @patches;
+	error("no packages specified or none to patch for this source")
+	    unless @packages;
 
 	foreach my $package (@packages) {
 	    my $msg = sprintf("| Processing %s package |", $package);

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list