mirror of
https://cgit.krebsco.de/krops
synced 2024-11-23 03:29:48 +01:00
populate symlink: fail if target is a directory
This commit is contained in:
parent
4ce5dae7bc
commit
d92cc88a3c
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ let
|
|||
|
||||
# TODO rm -fR instead of ln -f?
|
||||
pop.symlink = target: source: shell' target /* sh */ ''
|
||||
ln -fns ${quote source.target} ${quote target.path}
|
||||
ln -fnsT ${quote source.target} ${quote target.path}
|
||||
'';
|
||||
|
||||
populate = target: name: source: let
|
||||
|
|
Loading…
Reference in a new issue