Only update existing symlink directories on preview uninstall (#14179)
On preview uninstall, we should not create a new minor version symlink directory if one doesn't exist. We should only update existing ones.
This commit is contained in:
@@ -240,7 +240,7 @@ async fn do_uninstall(
|
||||
.iter()
|
||||
.filter(|(minor_version, _)| uninstalled_minor_versions.contains(minor_version))
|
||||
{
|
||||
installation.ensure_minor_version_link(preview)?;
|
||||
installation.update_minor_version_link(preview)?;
|
||||
}
|
||||
// For each uninstalled installation, check if there are no remaining installations
|
||||
// for its minor version. If there are none remaining, remove the symlink directory
|
||||
|
||||
Reference in New Issue
Block a user