Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miniconda installer script declared as #!/bin/sh but syntax is bash #836

Closed
mfeblowitz opened this issue Dec 28, 2022 · 3 comments
Closed
Labels
locked [bot] locked due to inactivity off-topic not related to project, discussion is spam, or is otherwise nonsensical

Comments

@mfeblowitz
Copy link

When run as miniconda.sh -b -p miniconda the error appears as:

Installing * environment...

./miniconda.sh: 444: ./miniconda.sh: [[: not found

The problem is resolved when miniconda.sh is modified to begin with /bin/bash or when invoked as bash miniconda.sh -b -p miniconda.

ubuntu 18.04
install url https://repo.anaconda.com/miniconda/Miniconda3-py38_22.11.1-1-Linux-x86_64.sh (and others)

@dbast
Copy link
Member

dbast commented Dec 28, 2022

see also conda/constructor#596 and conda/conda#10431

@rootsmusic
Copy link

@mfeblowitz This repo is to edit conda documentation.

@jezdez jezdez added the off-topic not related to project, discussion is spam, or is otherwise nonsensical label Dec 7, 2023
@jezdez
Copy link
Member

jezdez commented Dec 7, 2023

This is off-topic and also has been fixed.

@jezdez jezdez closed this as completed Dec 7, 2023
@github-project-automation github-project-automation bot moved this to 🏁 Done in 🧭 Planning Dec 7, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity off-topic not related to project, discussion is spam, or is otherwise nonsensical
Projects
Archived in project
Development

No branches or pull requests

4 participants