aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 09144fe1..101e388c 100755
--- a/install.sh
+++ b/install.sh
@@ -18,7 +18,7 @@ cp conf/conf.cfg-sample conf/conf.cfg
sed -i '/database/d' conf/conf.cfg
sed -i '/uri/d' conf/conf.cfg
-if [ "$1" == postgre ]; then
+if [ "$1" == postgres ]; then
sudo apt-get install -y postgresql postgresql-server-dev-9.3 postgresql-client
sudo pip install psycopg2
echo "127.0.0.1:5432:aggregator:pgsqluser:pgsqlpwd" > ~/.pgpass
@@ -39,4 +39,4 @@ elif [ "$1" == sqlite ]; then
fi
python manager.py db_empty
-python manager.py db_create \ No newline at end of file
+python manager.py db_create
bgstack15