mirror of https://github.com/mamba-org/mamba.git
Restore previous behavior of `MAMBA_ROOT_PREFIX` (#3365)
Restore previous behavior
This commit is contained in:
parent
4fbd22a9c0
commit
de040eb225
|
@ -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()),
|
||||
|
|
Loading…
Reference in New Issue