summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-03-26 17:16:54 +0200
committerAndreas Maunz <andreas@maunz.de>2012-03-26 17:16:54 +0200
commit9cf07c58e6b5c51ff78ea56574ddf90308861ce2 (patch)
tree72e2d5de7008b47d0600da8820b72d5b22358e0b
parentcd90cdd3fb486b550c2d4de65cbd11682e7aefe9 (diff)
Fixed dependency checks
-rwxr-xr-xbin/algorithm-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/algorithm-install b/bin/algorithm-install
index 157eeb6..2645d1c 100755
--- a/bin/algorithm-install
+++ b/bin/algorithm-install
@@ -121,8 +121,8 @@ echo
[ -d $OT_CONFIG/config/$SELF ] || cmd="mkdir -p $OT_CONFIG/config/$SELF" && run_cmd "$cmd" "$SELF config directory"
[ "`$RBENV local`" = "$RUBY_VER" ] || install_ruby
-[ -z `find $RUBY_DIR -name openbabel.so 2>/dev/null` ] && install_ob_ruby
-( [ -z `find libfminer/ -name bbrc.so 2>/dev/null` ] || [ -z `find libfminer/ -name last.so 2>/dev/null` ] ) && install_fminer
+[ -n `find $RUBY_DIR -name openbabel.so 2>/dev/null` ] || install_ob_ruby
+( [ -n `find libfminer/ -name bbrc.so 2>/dev/null` ] && [ -n `find libfminer/ -name last.so 2>/dev/null` ] ) || install_fminer
echo
install_bundler