dotfiles management: fix shell script
dotfiles management: fix shell script: a task in smol-software-harbor (Harbor dataset). link.sh cannot be run twice: the second run fails with File exists , and a real ~/.bashrc that is already there blocks it too. As its header says, it must replace existing links and move an existing regular…
The task
`link.sh` cannot be run twice: the second run fails with `File exists`, and a real `~/.bashrc` that is already there blocks it too. As its header says, it must replace existing links and move an existing regular file to `.NAME.bak` before linking. Fix the script; `bash tests/run.sh` has the checks.
Part of efederici/smol-software-harbor.