diff options
| author | EuAndreh <eu@euandre.org> | 2021-06-08 09:01:53 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-06-08 09:01:53 -0300 |
| commit | 73f7b92df0e37625e8d21593fd456fd2187b452b (patch) | |
| tree | 585260b0261f18b6b6889215c1d9c16772dca473 /sh | |
| parent | sh/aliases.sh: Add borg alias (diff) | |
| download | dotfiles-73f7b92df0e37625e8d21593fd456fd2187b452b.tar.gz dotfiles-73f7b92df0e37625e8d21593fd456fd2187b452b.tar.xz | |
sh/symlinks.sh: Remove upsert_dir_symlinks cases
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 |
