diff options
-rw-r--r-- | bash/symlinks.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bash/symlinks.sh b/bash/symlinks.sh index 7fe95ed..169c056 100644 --- a/bash/symlinks.sh +++ b/bash/symlinks.sh @@ -15,8 +15,12 @@ isLinux && { ln -fs $DOTFILES/git/mrconfig.ini ~/.mrconfig -ln -fs $MEDIA_PREFIX/UTCLOUD ~/UTCLOUD -ln -fs $MEDIA_PREFIX/SNEAKER ~/SNEAKER +if [ ! -d ~/UTCLOUD ]; then + ln -s $MEDIA_PREFIX/UTCLOUD ~/UTCLOUD +fi +if [ ! -d ~/SNEAKER ]; then + ln -s $MEDIA_PREFIX/SNEAKER ~/SNEAKER +fi mkdir -p ~/.lein ln -fs $DOTFILES/lein/profiles.clj ~/.lein/profiles.clj |