mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-12-19 18:05:02 -07:00
fix: when download path got removed, it should use -f to force delete the download files (#1746)
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
This commit is contained in:
parent
d462b55ec9
commit
221507f1c0
@ -243,7 +243,7 @@ install_tool_version() {
|
|||||||
fi
|
fi
|
||||||
# Otherwise, remove the download directory if it exists
|
# Otherwise, remove the download directory if it exists
|
||||||
elif [ -d "$download_path" ]; then
|
elif [ -d "$download_path" ]; then
|
||||||
rm -r "$download_path"
|
rm -rf "$download_path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
reshim_command "$plugin_name" "$full_version"
|
reshim_command "$plugin_name" "$full_version"
|
||||||
|
Loading…
Reference in New Issue
Block a user