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)"