summaryrefslogtreecommitdiff
path: root/dh_gencontrol
diff options
context:
space:
mode:
authorjoey <joey>2000-07-21 00:05:35 +0000
committerjoey <joey>2000-07-21 00:05:35 +0000
commit1d3b6f28c9aa8cf91b4f2f644ceeff01352c5b0b (patch)
treeb97fbc3f1952865924b664be1b750f6ba2fd2e0a /dh_gencontrol
parenta7afc7fccd48b73037a32e511a219016ba9fee17 (diff)
r360: * Never refer to root, always uid/gid "0". Closes: #67508
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-xdh_gencontrol4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_gencontrol b/dh_gencontrol
index 6a12694b..15e08203 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -15,7 +15,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
}
if ( ! -d '$TMP/DEBIAN' ) {
- doit("install","-o","root","-g","root","-d","$TMP/DEBIAN");
+ doit("install","-o",0,"-g",0,"-d","$TMP/DEBIAN");
}
# Generate and install control file.
@@ -25,6 +25,6 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
# 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");
+ doit("chown","0.0","$TMP/DEBIAN/control");
}