diff options
author | EuAndreh <eu@euandre.org> | 2018-10-31 23:39:10 -0200 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-10-31 23:39:10 -0200 |
commit | e9f97e9302f6d1ebe030f6976fb6f09e6c2b60e9 (patch) | |
tree | 979b1d55f6478d415894afeca4523d35cf4e2fa5 | |
parent | Don't push LFS images to HD. (diff) | |
download | dotfiles-e9f97e9302f6d1ebe030f6976fb6f09e6c2b60e9.tar.gz dotfiles-e9f97e9302f6d1ebe030f6976fb6f09e6c2b60e9.tar.xz |
Improve extarnal drives symlinks.
-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 |