From f4e971b41f85370474dfcc655701da2dd8fc7eb8 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Sat, 28 Oct 2000 15:36:22 +0000 Subject: [PATCH] scripts/dpkg-genchanges.pl: make a missing package a warning instead of an error --- ChangeLog | 5 +++++ debian/changelog | 1 + scripts/dpkg-genchanges.pl | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6c716ef8..6ec79a58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Oct 28 15:41:04 CEST 2000 Wichert Akkerman + + * scripts/dpkg-genchanges.pl: make a missing package a warning instead + of an error + Wed Oct 25 00:14:06 CEST 2000 Wichert Akkerman * po/nl.po: new Dutch translation from Ivo Timmermans diff --git a/debian/changelog b/debian/changelog index 3b5e24d1..9517fb95 100644 --- a/debian/changelog +++ b/debian/changelog @@ -37,6 +37,7 @@ dpkg (1.7.0) unstable; urgency=low * Don't abort if start-stop-daemon tries to read a non-existing pidfile. Closes: Bug#75105 * Update formating of start-stop-daemon manpage. Closes: Bug#75110 + * Make a missing package a warning instead of an error in dpkg-genchanges -- Wichert Akkerman UNRELEASED diff --git a/scripts/dpkg-genchanges.pl b/scripts/dpkg-genchanges.pl index bd635964..f8816caf 100755 --- a/scripts/dpkg-genchanges.pl +++ b/scripts/dpkg-genchanges.pl @@ -170,7 +170,8 @@ for $_ (keys %fi) { if (!defined($p2f{$p})) { if ($a eq 'any' || ($a eq 'all' && !$archspecific) || grep($_ eq $substvar{'Arch'}, split(/\s+/, $a))) { - &error("package $p in control file but not in files list"); + &warn("package $p in control file but not in files list"); + next; } } else { $p2arch{$p}=$a; -- 2.39.5