mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
files: show better error when file would be clobbered (#7348)
Before: > Existing file '' would be clobbered by backing up '/home/winter/.config/fish/config.fish' After: > Existing file '/home/winter/.config/fish/config.fish' would be clobbered
This commit is contained in:
parent
4074121796
commit
96354906f5
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ for sourcePath in "$@" ; do
|
|||
fi
|
||||
else
|
||||
# Fail if nothing else works
|
||||
collisionErrors+=("Existing file '$backup' would be clobbered by backing up '$targetPath'")
|
||||
collisionErrors+=("Existing file '$targetPath' would be clobbered")
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue