summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/opentox-client-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/opentox-client-install b/bin/opentox-client-install
index bd2f17f..9bb2308 100755
--- a/bin/opentox-client-install
+++ b/bin/opentox-client-install
@@ -35,6 +35,11 @@ OT_CONFIG_DIR="$HOME/.opentox"
RUBY_DIR="$HOME/.rbenv/versions/$RUBY_NUM_VER"
+# config
+[ -f $OT_CONFIG_DIR/config/$SELF.rb ] || touch $OT_CONFIG_DIR/config/$SELF.rb
+if ! cat "$OT_CONFIG_DIR/config/$SELF.rb" | grep "default.rb">/dev/null 2>&1; then echo 'require_relative "default.rb"' >> $OT_CONFIG_DIR/config/$SELF.rb; fi
+
+
# # # Install
check_utils "rbenv find"