mirror of
https://cgit.krebsco.de/krops
synced 2024-11-30 06:59:46 +01:00
populate: re-add default values for useChecksum/exclude
Turns out, those where required.
This commit is contained in:
parent
fff9b24ec9
commit
fce5826802
1 changed files with 2 additions and 2 deletions
|
@ -156,11 +156,11 @@ let
|
||||||
source_path=$source_path/
|
source_path=$source_path/
|
||||||
fi
|
fi
|
||||||
${rsync}/bin/rsync \
|
${rsync}/bin/rsync \
|
||||||
${optionalString config.useChecksum /* sh */ "--checksum"} \
|
${optionalString (config.useChecksum or false) /* sh */ "--checksum"} \
|
||||||
${optionalString target.sudo /* sh */ "--rsync-path=\"sudo rsync\""} \
|
${optionalString target.sudo /* sh */ "--rsync-path=\"sudo rsync\""} \
|
||||||
${concatMapStringsSep " "
|
${concatMapStringsSep " "
|
||||||
(pattern: /* sh */ "--exclude ${quote pattern}")
|
(pattern: /* sh */ "--exclude ${quote pattern}")
|
||||||
config.exclude} \
|
(config.exclude or [])} \
|
||||||
-e ${quote (ssh' target)} \
|
-e ${quote (ssh' target)} \
|
||||||
-vFrlptD \
|
-vFrlptD \
|
||||||
--delete-excluded \
|
--delete-excluded \
|
||||||
|
|
Loading…
Reference in a new issue