logcheck: make sure directories are writable during merge phase

This commit is contained in:
Mathijs Kwik 2012-08-28 00:34:13 +02:00
parent 51e58dafca
commit d106a8a296

View File

@ -11,6 +11,7 @@ let
mkdir $out
cp -prd ${pkgs.logcheck}/etc/logcheck/* $out/
rm $out/logcheck.*
chmod u+w $out/*
'' + optionalString (! builtins.isNull cfg.extraRulesDir) ''
cp -prd ${cfg.extraRulesDir}/* $out/
'' );