From c9c53916d94447ed7b33a6c1956142081071c206 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 24 May 2001 20:33:49 +0000 Subject: 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 --- Debian/Debhelper/Dh_Lib.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Debian') diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 5ed9d163..6185e19c 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. -- cgit v1.2.3