files with MimeType fields. Patch from Emmet Hikory. Closes: #427831
* dh_strip: Don't run objcopy if the output file already exists.
Closes: #380314
+ * dh_strip: Check that --dbg-package lists the name of a real package.
+ Closes: #442480
- -- Joey Hess <joeyh@debian.org> Thu, 13 Sep 2007 15:47:55 -0400
+ -- Joey Hess <joeyh@debian.org> Sun, 16 Sep 2007 19:47:59 -0400
debhelper (5.0.54) unstable; urgency=low
$keep_debug=1;
# Note that it's only an array for the v4 stuff;
# for v5 only one value is used.
- $debugtmp=tmpdir(@{$dh{DEBUGPACKAGES}}[0]);
+ my $debugpackage=@{$dh{DEBUGPACKAGES}}[0];
+ if (! grep { $_ eq $debugpackage } getpackages()) {
+ error("debug package $debugpackage is not listed in the control file");
+ }
+ $debugtmp=tmpdir($debugpackage);
}
}
else {