Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/distro.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortechraf <techraf@gmail.com>2016-06-23 03:56:04 +0300
committertechraf <techraf@gmail.com>2016-06-23 03:56:04 +0300
commit973a3667f6f9dd5aec5e298dcdbd7025da75f1fa (patch)
treec228dfdca9e7fd2031ec317fb5d468d5290c25e1
parent2ec1fc7917994e6a001476148fdb2646fd5c6f51 (diff)
Fix premature exit when ipython is not installed
-rwxr-xr-xinstall-deps2
1 files changed, 1 insertions, 1 deletions
diff --git a/install-deps b/install-deps
index 3a57470..a73d98b 100755
--- a/install-deps
+++ b/install-deps
@@ -294,7 +294,7 @@ else
exit 1
fi
-ipython_exists=$(command -v ipython)
+ipython_exists=$(command -v ipython) || true
if [[ $ipython_exists ]]; then {
ipython_version=$(ipython --version|cut -f1 -d'.')
if [[ $ipython_version != 2 && $ipython_version != 3 && $ipython_version != 4 ]]; then {