Never create bin links on uv python upgrade if they don't already exist (#15192)
Fixes #15178
This commit is contained in:
@@ -764,6 +764,9 @@ fn create_bin_links(
|
||||
|
||||
for target in targets {
|
||||
let target = bin.join(target);
|
||||
if upgrade && !target.try_exists().unwrap_or_default() {
|
||||
continue;
|
||||
}
|
||||
let executable = if upgradeable {
|
||||
if let Some(minor_version_link) =
|
||||
PythonMinorVersionLink::from_installation(installation, preview)
|
||||
|
||||
Reference in New Issue
Block a user