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:
commit
cab74492c0
@ -8,7 +8,7 @@ let
|
|||||||
defaultRules = pkgs.runCommand "logcheck-default-rules" {} ''
|
defaultRules = pkgs.runCommand "logcheck-default-rules" {} ''
|
||||||
cp -prd ${pkgs.logcheck}/etc/logcheck $out
|
cp -prd ${pkgs.logcheck}/etc/logcheck $out
|
||||||
chmod u+w $out
|
chmod u+w $out
|
||||||
rm $out/logcheck.*
|
rm -r $out/logcheck.*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
rulesDir = pkgs.symlinkJoin
|
rulesDir = pkgs.symlinkJoin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user