+++ /dev/null
-#!/usr/bin/perl -w
-#
-# Install cron scripts into the appropriate places.
-
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
-init();
-
-foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
- $TMP=tmpdir($PACKAGE);
- foreach $type (qw{daily weekly monthly}) {
- $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",$cron,"$TMP/etc/cron.$type/$PACKAGE");
- }
- }
- # Seperate because this needs to be mode 644.
- $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","-m",644,$cron,"$TMP/etc/cron.d/$PACKAGE");
- }
-}
+++ /dev/null
-.TH DH_INSTALLCRON 1 "" "Debhelper Commands" "Debhelper Commands"
-.SH NAME
-dh_installcron \- install cron scripts into etc/cron.*
-.SH SYNOPSIS
-.B dh_installcron
-.I "[debhelper options]"
-.SH "DESCRIPTION"
-dh_installcron is a debhelper program that is responsible for installing
-cron scripts into etc/cron.* in package build directories. The files
-debian/cron.daily, debian/cron.weekly, debian/cron.monthly, and debian/cron.d
-are installed. If your package generates multiple binary packages (or if you
-just prefer to do it), you can also use filenames like
-debian/package.cron.daily, where "package" is replaced with the name of the
-binary package this cron script goes into.
-.SH OPTIONS
-.TP
-.B debhelper options
-See
-.BR debhelper (1)
-for a list of options common to all debhelper commands.
-.SH ENVIRONMENT
-See
-.BR debhelper (1)
-for a list of environment variables that affect all debhelper commands.
-.SH "SEE ALSO"
-.BR debhelper (1)
-.SH "CONFORMS TO"
-Debian policy, version 2.5.0.0
-.SH AUTHOR
-Joey Hess <joeyh@master.debian.org>