nixos/logcheck: replace rm with rm -r to delete the empty logcheck.logfiles.d/

Fixes #29906
This commit is contained in:
Philipp Dörfler 2017-12-11 11:33:13 +01:00 committed by Orivej Desh
parent 609bf27001
commit 4b0c9418c0

View File

@ -8,7 +8,7 @@ let
defaultRules = pkgs.runCommand "logcheck-default-rules" {} ''
cp -prd ${pkgs.logcheck}/etc/logcheck $out
chmod u+w $out
rm $out/logcheck.*
rm -r $out/logcheck.*
'';
rulesDir = pkgs.symlinkJoin