mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01:00
files: be less verbose when linking a directory
This commit is contained in:
parent
35775b3bc5
commit
a4c0fead1f
1 changed files with 2 additions and 2 deletions
|
@ -226,8 +226,8 @@ in
|
|||
fi
|
||||
|
||||
if [ -d "${v.source}" ]; then
|
||||
mkdir -pv "$(dirname "$out/${v.target}")"
|
||||
ln -sv "${v.source}" "$target"
|
||||
mkdir -p "$(dirname "$out/${v.target}")"
|
||||
ln -s "${v.source}" "$target"
|
||||
else
|
||||
install -D -m${v.mode} "${v.source}" "$target"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue