summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:18:22 +0000
committerjoey <joey>1999-08-17 05:18:22 +0000
commitd950296f8b54c6e10ea39a00ee6cfa32ab7545bb (patch)
tree3c6a998ebdf6b10b52cf8ecd7f261a69acb80c8f
parent1bfed6299ebbb344a756bf1eae47aea4d93499eb (diff)
downloaddebhelper-d950296f8b54c6e10ea39a00ee6cfa32ab7545bb.tar.gz
r240: Initial Import
-rw-r--r--Dh_Lib.pm4
-rw-r--r--debian/changelog8
2 files changed, 10 insertions, 2 deletions
diff --git a/Dh_Lib.pm b/Dh_Lib.pm
index c5146b91..e74e8ccb 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 b9f9ba52..cfe8937b 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 <joeyh@master.debian.org> 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