diff options
-rwxr-xr-x | Link-Them | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |