summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
Diffstat (limited to 'Debian')
-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.