From e9f97e9302f6d1ebe030f6976fb6f09e6c2b60e9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 31 Oct 2018 23:39:10 -0200 Subject: Improve extarnal drives symlinks. --- bash/symlinks.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bash') 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 -- cgit v1.2.3