diff options
author | davor <vorgrimmlerdavid@gmx.de> | 2012-08-09 14:51:31 +0200 |
---|---|---|
committer | davor <vorgrimmlerdavid@gmx.de> | 2012-08-09 14:51:31 +0200 |
commit | b126700ab32e59a76628e578c58c09f43a92b006 (patch) | |
tree | ead07c236f47f62c37c0a4b751ae08594f910a93 /install | |
parent | b02156713fd6a738c02b455c283b81f0617b5d0d (diff) |
Added default config file.
Diffstat (limited to 'install')
-rwxr-xr-x | install | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,7 +37,9 @@ sudo echo -n "" 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)") +[ -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_CONFIG ] || (cmd="echo '$aa = { :uri => nil }' > $OT_DEFAULT_CONFIG" && run_cmd "$cmd" "Install default.rb to CONFIG (~/.opentox/config)") + . ./base-install # Debian specific; disable this for others. ./raptor2-install # Download, compile and build raptor2. Install to OT_PREFIX. |