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
INSTALL.sh ignored errors #1
Comments
Thank you for the report. sudo apt-get update --fix-missing
sudo apt-get install -y python python-pip |
I will, but the problem is not just with my package manager: I think you should handle any kind of error by stopping the script. You can achieve this behavior by adding |
No warnings nor errors at all while running these commands |
STEP TO REPRODUCE
bash INSTALL.sh
CURRENT BEHAVIOR
If (for any reason) apt-get fails, the error is not reported and the script is not stopped:
The last line is not true: Python is not installed.
Subsequent errors do not stop the script as well:
EXPECTED BEHAVIOR
I think that every error should be reported and stop the script.
ENVIRONMENT
I'm using Bash on windows but I don't think it is relevant.
The text was updated successfully, but these errors were encountered: