Merge pull request #32562 from phdoerfler/patch-1

nixos/logcheck: replace rm with rm -r to delete the empty logcheck.logfiles.d/
This commit is contained in:
Orivej Desh 2017-12-17 04:09:00 +00:00 committed by GitHub
commit cab74492c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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