From: joey Date: Thu, 24 May 2001 20:33:49 +0000 (+0000) Subject: r471: * Always include package name in maintainer script fragment filenames X-Git-Tag: version_2.0.101~128 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c9c53916d94447ed7b33a6c1956142081071c206;p=debhelper.git r471: * Always include package name in maintainer script fragment filenames and generated shlibs files (except for in DH_COMPAT=1 mode). This is a purely cosmetic change, and if it breaks anything, you were using an undocumented interface. Closes: #95387 --- diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 5ed9d16..6185e19 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -260,10 +260,10 @@ sub pkgfile { sub pkgext { my $package=shift; - if ($package ne $dh{MAINPACKAGE}) { - return "$package."; + if (compat(1) and $package eq $dh{MAINPACKAGE}) { + return ""; } - return ""; + return "$package."; } # Returns 1 if the package is a native debian package, null otherwise. diff --git a/debian/changelog b/debian/changelog index e0a6124..915a8dd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +debhelper (3.0.26) unstable; urgency=low + + * Always include package name in maintainer script fragment filenames + and generated shlibs files (except for in DH_COMPAT=1 mode). This is a + purely cosmetic change, and if it breaks anything, you were using an + undocumented interface. Closes: #95387 + + -- Joey Hess Thu, 24 May 2001 16:31:46 -0400 + debhelper (3.0.25) unstable; urgency=low * dh_makeshlins: append to LD_LIBRARY_PATH at start, not each time