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 /4store-install | |
parent | b02156713fd6a738c02b455c283b81f0617b5d0d (diff) |
Added default config file.
Diffstat (limited to '4store-install')
-rwxr-xr-x | 4store-install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/4store-install b/4store-install index 66b1b95..30f6c59 100755 --- a/4store-install +++ b/4store-install @@ -25,6 +25,8 @@ cmd="make install" && run_cmd "$cmd" "Make Install" # Config echo "if echo \"\$LD_LIBRARY_PATH\" | grep -v \"$FST/lib\">/dev/null 2>&1; then export LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH:$FST/lib\"; fi" >> "$FST_CONF" +if ! cat "$OT_DEFAULT_CONFIG" | grep "four_store">/dev/null 2>&1; then echo "$four_store = { :uri => 'http://localhost:8088', :user => '', :password => '' }" >> $OT_DEFAULT_CONFIG; fi + echo "$SELF configuration has been stored in '$FST_CONF'." if ! grep "$FST_CONF" $OT_UI_CONF >/dev/null 2>&1; then echo '. '$FST_CONF >> $OT_UI_CONF |