diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-26 13:53:53 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-26 13:53:53 -0400 |
commit | f16942a4d85ec81ed7fbac8c83fabe782cdaad89 (patch) | |
tree | 7f31076570d8bee4bd83db4c9719fd03e05f0134 | |
parent | 949f9da6a6548704786d809be76a3a2d47d6fabe (diff) |
default data storage is /var/lib
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -5,8 +5,6 @@ function quit { } PREFIX="/opt/dbcore" -DATA="/srv/db" -VIEW="/srv/view_index" DBCORE_USER=`whoami` while [ $# -gt 0 ] @@ -40,6 +38,9 @@ do esac done +if test ! -n "$DATA"; then DATA="$PREFIX/var/lib"; fi +if test ! -n "$VIEW"; then VIEW="$PREFIX/var/lib"; fi + echo "==> configuring dbcore in rel/overlay.config" cat > rel/overlay.config << EOF {prefix, "$PREFIX"}. |