diff --git a/lib/functions/installs.bash b/lib/functions/installs.bash index 1b440d27..124a5169 100644 --- a/lib/functions/installs.bash +++ b/lib/functions/installs.bash @@ -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"