Fix symlink check
This commit is contained in:
parent
650343c78d
commit
a09b7cd2a2
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
function do_link {
|
||||
if [ ! -h "$2" ]; then
|
||||
if [ ! -h "$HOME/.$1" ]; then
|
||||
echo "ln -sf '$HOME/.dotfiles/$1' '$HOME/.$1'"
|
||||
ln -sf "$HOME/.dotfiles/$1" "$HOME/.$1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue