From b1f8235760b56b383689813783133f4db1aa023b Mon Sep 17 00:00:00 2001 From: davor Date: Fri, 17 Aug 2012 16:00:52 +0200 Subject: Added external compound uri. --- install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install b/install index 850b30e..537be01 100755 --- a/install +++ b/install @@ -39,6 +39,8 @@ echo [ -f $OT_PREFIX/install/utils.sh ] || (cmd="mkdir -p $OT_PREFIX/install && cp utils.sh $OT_PREFIX/install" && run_cmd "$cmd" "Install utils.sh to OT_PREFIX") [ -f $HOME/.opentox/config/install/config.sh ] || (cmd="mkdir -p $HOME/.opentox/config/install && cp config.sh $HOME/.opentox/config/install" && run_cmd "$cmd" "Install config.sh to CONFIG (~/.opentox/config)") [ -f $OT_DEFAULT_CONF ] || (cmd="echo '\$aa = { :uri => nil }' > $OT_DEFAULT_CONF" && run_cmd "$cmd" "Install default.rb to CONFIG (~/.opentox/conf)") +# Added external compound service uri (only till it is available for the new architecture). +if ! cat "$OT_DEFAULT_CONF" | grep "compound" | grep ":uri=">/dev/null 2>&1; then echo '$compound = { :uri => "http://webservices.in-silico.ch/compound" }' >> $OT_DEFAULT_CONF; fi . ./base-install # Debian specific; disable this for others. -- cgit v1.2.3