summaryrefslogtreecommitdiff
path: root/Debian/Debhelper
diff options
context:
space:
mode:
authorjoey <joey>2001-05-24 20:33:49 +0000
committerjoey <joey>2001-05-24 20:33:49 +0000
commitc9c53916d94447ed7b33a6c1956142081071c206 (patch)
tree71f1013a6f7117bc64850a15a3e6e87386eb0742 /Debian/Debhelper
parent2e8f5be5cf644bcc85d902b71c951de01a2cb200 (diff)
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/Debhelper')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm6
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.