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:
Kamontat Chantrachirathumrong 2024-12-18 02:53:15 +07:00 committed by GitHub
parent d462b55ec9
commit 221507f1c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,7 +243,7 @@ install_tool_version() {
fi
# Otherwise, remove the download directory if it exists
elif [ -d "$download_path" ]; then
rm -r "$download_path"
rm -rf "$download_path"
fi
reshim_command "$plugin_name" "$full_version"