mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Support force (re)installing
This commit is contained in:
parent
f273612155
commit
9d804e8186
@ -179,7 +179,7 @@ install_tool_version() {
|
||||
concurrency=$(get_concurrency)
|
||||
trap 'handle_cancel $install_path' INT
|
||||
|
||||
if [ -d "$install_path" ]; then
|
||||
if [ -d "$install_path" ] && [ "${ASDF_FORCE_INSTALL}" != "true" ]; then
|
||||
printf "%s %s is already installed\n" "$plugin_name" "$full_version"
|
||||
else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user