summaryrefslogtreecommitdiff
path: root/dh_installcron
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installcron')
-rwxr-xr-xdh_installcron6
1 files changed, 2 insertions, 4 deletions
diff --git a/dh_installcron b/dh_installcron
index 7f23bc45..47ef6943 100755
--- a/dh_installcron
+++ b/dh_installcron
@@ -11,8 +11,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
$cron=pkgfile($PACKAGE,"cron.$type");
if ($cron) {
if (! -d "$TMP/etc/cron.$type") {
- doit("install","-o","root","-g","root","-d",
- "$TMP/etc/cron.$type");
+ doit("install","-o",0,"-g",0,"-d","$TMP/etc/cron.$type");
}
doit("install",$cron,"$TMP/etc/cron.$type/$PACKAGE");
}
@@ -21,8 +20,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
$cron=pkgfile($PACKAGE,"cron.d");
if ($cron) {
if (! -d "$TMP/etc/cron.d") {
- doit("install","-o","root","-g","root","-d",
- "$TMP/etc/cron.d");
+ doit("install","-o",0,"-g",0,"-d","$TMP/etc/cron.d");
}
doit("install","-m",644,$cron,"$TMP/etc/cron.d/$PACKAGE");
}