Restore previous behavior of `MAMBA_ROOT_PREFIX` (#3365)

Restore previous behavior
This commit is contained in:
Hind-M 2024-07-30 10:57:23 +02:00 committed by GitHub
parent 4fbd22a9c0
commit de040eb225
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -624,8 +624,8 @@ namespace mamba
}
if (!fs::exists(prefix / "pkgs") //
|| !fs::exists(prefix / "conda-meta") //
|| !fs::exists(prefix / "envs"))
&& !fs::exists(prefix / "conda-meta") //
&& !fs::exists(prefix / "envs"))
{
return make_unexpected(
fmt::format(R"(Path "{}" is not an existing root prefix.)", prefix.string()),