nixos/logcheck: replace rm with rm -r to delete the empty logcheck.logfiles.d/
Fixes #29906
Philipp Dörfler 8 years ago 4b0c9418 609bf270
··· 8 8 defaultRules = pkgs.runCommand "logcheck-default-rules" {} '' 9 9 cp -prd ${pkgs.logcheck}/etc/logcheck $out 10 10 chmod u+w $out 11 11 - rm $out/logcheck.* 11 11 + rm -r $out/logcheck.* 12 12 ''; 13 13 14 14 rulesDir = pkgs.symlinkJoin