mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 02:05:37 +00:00
don't follow symlinks when updating them
This commit is contained in:
parent
a8bbca7189
commit
24ebddafb6
@ -8,7 +8,7 @@ setup_symlinks() {
|
||||
for source in $(find "$DOTS" -iname "*.symlink")
|
||||
do
|
||||
dest="$HOME/.`basename \"${source%.*}\"`"
|
||||
ln -sf "$source" "$dest"
|
||||
ln -sfn "$source" "$dest"
|
||||
done
|
||||
|
||||
echo "symlinks ✓"
|
||||
@ -18,7 +18,7 @@ setup_configlinks() {
|
||||
for source in $(find "$DOTS" -iname "*.configlink")
|
||||
do
|
||||
dest="$HOME/.config/`basename \"${source%.*}\"`"
|
||||
ln -sf "$source" "$dest"
|
||||
ln -sfn "$source" "$dest"
|
||||
done
|
||||
|
||||
echo "configlinks ✓"
|
||||
|
Loading…
Reference in New Issue
Block a user