From d3039a48b85db91fae6ade5beb0c3749d339b1ee Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 31 Aug 2021 21:51:24 +0100 Subject: [PATCH] Make symbolic links --- ansible-setup.sh | 2 +- roles/home-cli/files/docutils-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible-setup.sh b/ansible-setup.sh index 617bf6d..5124a36 100755 --- a/ansible-setup.sh +++ b/ansible-setup.sh @@ -27,7 +27,7 @@ pipinstall () { } create_link () { - ln -sf "$install_path/bin/$1" "$bin_path/$1" + ln -srf "$install_path/bin/$1" "$bin_path/$1" } py3cmd="$(command -v python3)" diff --git a/roles/home-cli/files/docutils-setup.sh b/roles/home-cli/files/docutils-setup.sh index b332007..46eaffe 100755 --- a/roles/home-cli/files/docutils-setup.sh +++ b/roles/home-cli/files/docutils-setup.sh @@ -27,7 +27,7 @@ pipinstall () { } create_link () { - ln -sf "$install_path/bin/$1.py" "$bin_path/$1" + ln -srf "$install_path/bin/$1.py" "$bin_path/$1" } py3cmd="$(command -v python3)"