]> git.donarmstrong.com Git - debhelper.git/commitdiff
r393: * DH_COMPAT=3 now enables the following new features which I can't just
authorjoey <joey>
Mon, 27 Nov 2000 04:06:39 +0000 (04:06 +0000)
committerjoey <joey>
Mon, 27 Nov 2000 04:06:39 +0000 (04:06 +0000)
     turn on by default for fear of breaking backwards compatability:
     - dh_makeshlibs makes the postinst/postrm call ldconfig. Closes: #77154
       Patch from Masato Taruishi <taru@debian.org> (modified). If you
       use this, be sure dh_makeshlibs runs before dh_installdeb; many
       old rules files have the ordering backwards.
     - dh_installdeb now causes all files in /etc to be registered as
       conffiles.
     - debian/README is now supported: it is treated exactly like
       debian/README.Debian. Either file is installed as README.Debian in
       non-native packages, and now as just README in native packages.
Closes: #34628
   * This is really only the start of the changes for v3, so use with
     caution..
   * dh_du has finally been removed. It has been deprecated for ages, and
     a grep of the archive shows that nothing is using it except biss-awt
     and scsh. I filed bugs on both almost exactly a year ago. Those bugs
     should now be raised to severity important..
   * --number option (to dh_installemacsen) is removed. It has been
     deprecated for a while and nothing uses it. Use --priority instead.

dh_installdeb

index 1447ebfe32c50c4ccdea5e98d7c9d6927076638f..63e0f7fc9860c64349483e5adb936aa92d399df6 100755 (executable)
@@ -60,5 +60,8 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
                if (-z "$TMP/DEBIAN/conffiles") {
                        doit("rm", "-f", "$TMP/DEBIAN/conffiles");
                }
+               else {
+                       doit("chmod", 644, "$TMP/DEBIAN/conffiles");
+               }
        }
 }