konsens: all directories are safe

This commit is contained in:
tv 2023-05-02 20:39:46 +02:00
parent 3cc91cc0da
commit b60be1128b

View File

@ -66,6 +66,8 @@ let
Type = "simple"; Type = "simple";
PermissionsStartOnly = true; PermissionsStartOnly = true;
ExecStart = pkgs.writeDash "konsens-${name}" '' ExecStart = pkgs.writeDash "konsens-${name}" ''
set -efu
git config --global --replace-all safe.directory *
if ! test -e ${name}; then if ! test -e ${name}; then
git clone ${repo.url} ${name} git clone ${repo.url} ${name}
fi fi