summaryrefslogtreecommitdiff
path: root/dh_gencontrol
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:45:57 +0000
committerjoey <joey>1999-08-17 04:45:57 +0000
commit220da53f5dda9555b3c1ab4cf494ec539d458a9f (patch)
tree0122fd80ec9d1f56077e8eac647181f18e18a9de /dh_gencontrol
parentfbfd7d1a61ebb896864d9dcd6e6c06df192a3971 (diff)
downloaddebhelper-220da53f5dda9555b3c1ab4cf494ec539d458a9f.tar.gz
r59: Initial Import
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-xdh_gencontrol2
1 files changed, 2 insertions, 0 deletions
diff --git a/dh_gencontrol b/dh_gencontrol
index e2a4e701..f30b4104 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -15,5 +15,7 @@ for PACKAGE in $DH_DOPACKAGES; do
# Generate and install control file.
doit "dpkg-gencontrol -p$PACKAGE -Tdebian/${EXT}substvars -P$TMP $DH_U_PARAMS"
+ # This chmod is only necessary if the user sets the umask to something odd.
+ doit "chmod 644 $TMP/DEBIAN/control"
doit "chown root.root $TMP/DEBIAN/control"
done