From 10ffab4d032e3e5584c318a45521e774d49bd3d7 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Mon, 15 Jul 2013 23:05:54 +0200 Subject: add .opentox/config/opentox-clint.rb to install script --- bin/opentox-client-install | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit v1.2.3