From 73f7b92df0e37625e8d21593fd456fd2187b452b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 8 Jun 2021 09:01:53 -0300 Subject: sh/symlinks.sh: Remove upsert_dir_symlinks cases --- sh/symlinks.sh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'sh') 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 -- cgit v1.3