diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-04-29 15:23:05 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2006-04-29 15:23:05 +0000 |
commit | ff3fe3ec263db5fcca8abf1014a14c606e59d992 (patch) | |
tree | b16b58a1049237452624f77d6ce310ff7e94489a /Link-Them | |
parent | 2520504f1afc04300a760fee291dbc20139003c0 (diff) |
Syntax fix
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@75 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'Link-Them')
-rwxr-xr-x | Link-Them | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ DATE="`date +'%Y%m%d'`" DIR="`pwd`" for file in bash_profile bashrc screenrc vimrc zshrc; do - if ! [ -l "$HOME/.$file" ]; then + if ! [ -L "$HOME/.$file" ]; then [ -e "$HOME/.$file" ] && mv "$HOME/.$file" "$HOME/.$file-$DATE" ln -s "$DIR/$file" "$HOME/.$file" fi |