diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/platform.sh | 8 | ||||
-rw-r--r-- | bash/symlinks.sh | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/bash/platform.sh b/bash/platform.sh index 4929341..67d8525 100644 --- a/bash/platform.sh +++ b/bash/platform.sh @@ -7,3 +7,11 @@ isMac () { isLinux () { [[ `uname` == 'Linux' ]] } + +isMac && { + export MEDIA_PREFIX=/Volumes +} + +isLinux && { + export MEDIA_PREFIX=/run/media/andreh +} diff --git a/bash/symlinks.sh b/bash/symlinks.sh index 5842d07..933bb69 100644 --- a/bash/symlinks.sh +++ b/bash/symlinks.sh @@ -16,8 +16,8 @@ isLinux && { ln -fs $DOTFILES/git/mrconfig.ini ~/.mrconfig -ln -fs /run/media/andreh/UTCLOUD ~/UTCLOUD -ln -fs /run/media/andreh/SNEAKER ~/SNEAKER +ln -fs $MEDIA_PREFIX/UTCLOUD ~/UTCLOUD +ln -fs $MEDIA_PREFIX/SNEAKER ~/SNEAKER mkdir -p ~/.lein ln -fs $DOTFILES/lein/profiles.clj ~/.lein/profiles.clj |