]> git.donarmstrong.com Git - debhelper.git/commitdiff
r471: * Always include package name in maintainer script fragment filenames
authorjoey <joey>
Thu, 24 May 2001 20:33:49 +0000 (20:33 +0000)
committerjoey <joey>
Thu, 24 May 2001 20:33:49 +0000 (20:33 +0000)
     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
debian/changelog

index 5ed9d163b22c09d098c7f0e868941f2d4342ff54..6185e19cd7ed2dbd07756c893545a9ef7d279b9d 100644 (file)
@@ -260,10 +260,10 @@ sub pkgfile {
 sub pkgext {
        my $package=shift;
 
 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.
 }
 
 # Returns 1 if the package is a native debian package, null otherwise.
index e0a612416a343b23319fa54164b3fdbfe511743a..915a8dd0f5502ed032203d44ab7719af44d3416e 100644 (file)
@@ -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 <joeyh@debian.org>  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
 debhelper (3.0.25) unstable; urgency=low
 
   * dh_makeshlins: append to LD_LIBRARY_PATH at start, not each time