diff options
Diffstat (limited to 'sh')
| -rw-r--r-- | sh/symlinks.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sh/symlinks.sh b/sh/symlinks.sh index 34cfe2e4..89e67ba9 100644 --- a/sh/symlinks.sh +++ b/sh/symlinks.sh @@ -1,15 +1,5 @@ #!/bin/sh -upsert_dir_symlink() { - from="$1" - to="$2" - { [ -d "$to" ] || [ -L "$to" ]; } || { - ln -s "$from" "$to" - } -} - -upsert_dir_symlink "$HOME/dev/others/borg/config" ~/.config/borg - ln -fs "$DOTFILES/sh/bashrc.sh" ~/.bashrc ln -fs "$DOTFILES/sh/bash_profile.sh" ~/.bash_profile ln -fs "$DOTFILES/git/gitattributes" ~/.gitattributes @@ -39,10 +29,6 @@ ln -fs "$HOME/annex/bin/misc/git/mrconfig.ini" ~/.mrconfig mkdir -p ~/.newsboat ln -fs "${HOME}/annex/bin/misc/atom/newsboat-urls.txt" ~/.newsboat/urls -MEDIA_PREFIX=/run/media/andreh -upsert_dir_symlink "$MEDIA_PREFIX/UTCLOUD" ~/UTCLOUD -upsert_dir_symlink "$MEDIA_PREFIX/SNEAKER" ~/SNEAKER - ## tmux ln -fs "$DOTFILES/tmux.conf" ~/.tmux.conf |
