]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installcron
r840: This commit was manufactured by cvs2svn to create tag
[debhelper.git] / dh_installcron
diff --git a/dh_installcron b/dh_installcron
deleted file mode 100755 (executable)
index 5b872ac..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/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");
-       }
-}