diff options
Diffstat (limited to 'dh_installlogcheck')
-rwxr-xr-x | dh_installlogcheck | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dh_installlogcheck b/dh_installlogcheck index 72c92a38..b243c6ef 100755 --- a/dh_installlogcheck +++ b/dh_installlogcheck @@ -68,11 +68,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $typenod=~s/\.d//; my $logcheck=pkgfile($package,"logcheck.$typenod"); if ($logcheck) { - if (! -d "$tmp/etc/logcheck/$type") { - install_dir("$tmp/etc/logcheck/$type"); - } my $packagenodot=pkgfilename($package); # run-parts.. $packagenodot=~s/\./_/g; + install_dir("$tmp/etc/logcheck/$type"); install_file($logcheck, "$tmp/etc/logcheck/$type/$packagenodot"); } } |