mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +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
|
fi
|
||||||
|
|
||||||
if [ -d "${v.source}" ]; then
|
if [ -d "${v.source}" ]; then
|
||||||
mkdir -pv "$(dirname "$out/${v.target}")"
|
mkdir -p "$(dirname "$out/${v.target}")"
|
||||||
ln -sv "${v.source}" "$target"
|
ln -s "${v.source}" "$target"
|
||||||
else
|
else
|
||||||
install -D -m${v.mode} "${v.source}" "$target"
|
install -D -m${v.mode} "${v.source}" "$target"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue