BusyBox doesn't support ln -r

This commit is contained in:
Kevin Cotugno 2018-06-23 19:45:51 -07:00
parent e6767bd12a
commit 46a80a0e45

View File

@ -2,7 +2,7 @@
set -e set -e
link="ln -sr" link="ln -s"
rm="rm -rf" rm="rm -rf"
function uninstall { function uninstall {
@ -13,10 +13,10 @@ function uninstall {
} }
function install { function install {
eval $link ".emacs.d" "$HOME/.emacs.d" eval $link "$PWD/.emacs.d" "$HOME/.emacs.d"
eval $link ".zshrc" "$HOME/.zshrc" eval $link "$PWD/.zshrc" "$HOME/.zshrc"
eval $link ".tmux.conf" "$HOME/.tmux.conf" eval $link "$PWD/.tmux.conf" "$HOME/.tmux.conf"
eval $link ".config/nvim" "$HOME/.config/nvim" eval $link "$PWD/.config/nvim" "$HOME/.config/nvim"
} }
if [[ "$1" == "uninstall" ]]; then if [[ "$1" == "uninstall" ]]; then