summaryrefslogtreecommitdiffstats
path: root/dh_installcron
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installcron')
-rwxr-xr-xdh_installcron9
1 files changed, 8 insertions, 1 deletions
diff --git a/dh_installcron b/dh_installcron
index 9325b0e..209d5f1 100755
--- a/dh_installcron
+++ b/dh_installcron
@@ -63,7 +63,14 @@ init();
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
foreach my $type (qw{hourly daily weekly monthly yearly}) {
- my $cron=pkgfile($package,"cron.$type");
+ my $cron=pkgfile(
+ {
+ 'named' => 1,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ "cron.$type",
+ );
if ($cron) {
install_dir("$tmp/etc/cron.$type");
install_prog($cron,"$tmp/etc/cron.$type/".pkgfilename($package));