Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated linux bootstrapper

  • Loading branch information...
commit 2d60838cfae00a9eb79ad6f61654cc568b2ac8d1 1 parent 7f1a34a
@nvandijk authored
Showing with 4 additions and 8 deletions.
  1. +4 −8 bootstrap_linux.sh
View
12 bootstrap_linux.sh
@@ -1,17 +1,13 @@
#!/bin/bash
echo "symlink .bash_profile"
-rm -f ~/.bash_profile
-ln -s ~/.dotfiles/.bash_profile ~/.bash_profile
+[ ! -f ~/.bash_profile ] && ln -s ~/.dotfiles/.bash_profile ~/.bash_profile
echo "symlink .screenrc"
-rm -f ~/.screenrc
-ln -s ~/.dotfiles/.screenrc ~/.screenrc
+[ ! -f ~/.screenrc ] && ln -s ~/.dotfiles/.screenrc ~/.screenrc
echo "symlink .gitconfig"
-rm -f ~/.gitconfig
-ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
+[ ! -f ~/.gitconfig ] && ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
echo "symlink .gitignore"
-rm -f ~/.gitignore
-ln -s ~/.dotfiles/.gitignore ~/.gitignore
+[ ! -f ~/.gitignore ] && ln -s ~/.dotfiles/.gitignore ~/.gitignore
Please sign in to comment.
Something went wrong with that request. Please try again.