diff options
author | joey <joey> | 2001-05-24 20:33:49 +0000 |
---|---|---|
committer | joey <joey> | 2001-05-24 20:33:49 +0000 |
commit | c9c53916d94447ed7b33a6c1956142081071c206 (patch) | |
tree | 71f1013a6f7117bc64850a15a3e6e87386eb0742 /Debian | |
parent | 2e8f5be5cf644bcc85d902b71c951de01a2cb200 (diff) | |
download | debhelper-c9c53916d94447ed7b33a6c1956142081071c206.tar.gz |
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
Diffstat (limited to 'Debian')
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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. |