5 dh_installlogrotate - install logrotate config files
10 use Debian::Debhelper::Dh_Lib;
14 dh_logrotate [debhelper options]
18 dh_installlogrotate is a debhelper program that is responsible for installing
19 logrotate config files into etc/logrotate.d in package build directories.
20 Files named debian/package.logrotate are installed.
26 foreach my $package (@{$dh{DOPACKAGES}}) {
27 my $tmp=tmpdir($package);
28 my $file=pkgfile($package,"logrotate");
31 if (! -d "$tmp/etc/logrotate.d") {
32 doit("install","-o",0,"-g",0,"-d","$tmp/etc/logrotate.d");
34 doit("install","-m",644,$file,"$tmp/etc/logrotate.d/$package");
42 This program is a part of debhelper.
46 Joey Hess <joeyh@debian.org>