1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

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