summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLink-Them2
1 files changed, 1 insertions, 1 deletions
diff --git a/Link-Them b/Link-Them
index df6873f..b791a4f 100755
--- a/Link-Them
+++ b/Link-Them
@@ -14,7 +14,7 @@ fi
for file in bash_profile bashrc gitconfig gitignore screenrc vimrc zshrc zshfunc terminfo tmux.conf; do
if [ -L "$HOME/.$file" ]; then
- if [ "$(readlink "$HOME/.$file")" = "$dir/$file" ]; then # old style symlink, remove
+ if [ "$(readlink "$HOME/.$file")" != "$dir/$file" ]; then # old style symlink, remove
rm -v -f "$HOME/.$file"
fi
fi