Fix symlink check

This commit is contained in:
Henrik Lissner 2014-06-21 05:28:11 -04:00
parent 650343c78d
commit a09b7cd2a2

View file

@ -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