Przeglądaj źródła

scripts/dpkg-genchanges.pl: make a missing package a warning instead of an error

Wichert Akkerman 26 lat temu
rodzic
commit
f4e971b41f
3 zmienionych plików z 8 dodań i 1 usunięć
  1. 5 0
      ChangeLog
  2. 1 0
      debian/changelog
  3. 2 1
      scripts/dpkg-genchanges.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+Sat Oct 28 15:41:04 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
+
+  * scripts/dpkg-genchanges.pl: make a missing package a warning instead
+    of an error
+
 Wed Oct 25 00:14:06 CEST 2000 Wichert Akkerman <wakkerma@debian.org>
 
   * po/nl.po: new Dutch translation from Ivo Timmermans

+ 1 - 0
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 <wakkerma@debian.org>  UNRELEASED
 

+ 2 - 1
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;