From 76ff6a8827fb1adf6dcd76ba9a4e5e8be8463590 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Sun, 1 Oct 2000 18:53:29 +0000 Subject: [PATCH] Install default configuration file --- debian/dpkg.cfg | 7 +++++++ debian/rules | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 debian/dpkg.cfg diff --git a/debian/dpkg.cfg b/debian/dpkg.cfg new file mode 100644 index 00000000..d035197b --- /dev/null +++ b/debian/dpkg.cfg @@ -0,0 +1,7 @@ +# dpkg configuration file +# +# This file can contain default options for dpkg. All commandline +# options are allowed. Values can be specific by putting them after +# the option, seperated by whitespace and/or an `=' sign. +# + diff --git a/debian/rules b/debian/rules index 28c9d5a6..6ed0afc2 100755 --- a/debian/rules +++ b/debian/rules @@ -105,6 +105,11 @@ binary-dpkg: stamp-binary fi ; \ done ; \ done + + install -d -m 755 -o root -g root $(TMP_DPKG)/etc/dpkg + install -p -m 644 -o root -g root debian/dpkg.cfg \ + $(TMP_DPKG)/etc/dpkg/dpkg + # Now that dpkg has been installed, Debianize it # Policy stuff find $(TMP_DPKG)/usr/share/man -type f | xargs gzip -9f @@ -121,6 +126,7 @@ binary-dpkg: stamp-binary # Final package creation install -d -m 755 -o root -g root $(TMP_DPKG)/DEBIAN + install -p -m 644 -o root -g root debian/dpkg.conffiles $(TMP_DPKG)/DEBIAN/conffiles install -p -m 755 -o root -g root debian/dpkg.preinst $(TMP_DPKG)/DEBIAN/preinst install -p -m 755 -o root -g root debian/dpkg.prerm $(TMP_DPKG)/DEBIAN/prerm install -p -m 755 -o root -g root debian/dpkg.postinst $(TMP_DPKG)/DEBIAN/postinst -- 2.39.5