From d950296f8b54c6e10ea39a00ee6cfa32ab7545bb Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 05:18:22 +0000 Subject: [PATCH] r240: Initial Import --- Dh_Lib.pm | 4 ++-- debian/changelog | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Dh_Lib.pm b/Dh_Lib.pm index c5146b9..e74e8cc 100644 --- a/Dh_Lib.pm +++ b/Dh_Lib.pm @@ -228,10 +228,10 @@ sub tmpdir { my $package=shift; # the main package, it will look for debian/foo, and if found, return that. # Failing that, it will return nothing. sub pkgfile { my $package=shift; my $filename=shift; - if (-e "debian/$package.$filename") { + if (-f "debian/$package.$filename") { return "debian/$package.$filename"; } - elsif ($package eq $dh{MAINPACKAGE} && -e "debian/$filename") { + elsif ($package eq $dh{MAINPACKAGE} && -f "debian/$filename") { return "debian/$filename"; } return ""; diff --git a/debian/changelog b/debian/changelog index b9f9ba5..cfe8937 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debhelper (2.0.15) unstable; urgency=low + + * dh_clean: only force-remove debian/tmp if in v2 mode. In v1 mode, we + shouldn't remove it because we may only be acting on a single package. + (Closes: #41689) + + -- Joey Hess Tue, 20 Jul 1999 19:00:15 -0700 + debhelper (2.0.14) unstable; urgency=low * Moved /usr/lib/debhelper to /usr/share/debhelper for FHS compliance -- 2.39.5