aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-26 07:28:03 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-26 07:28:03 +0100
commit1a4a12081f9a55a851cbfcb0a0f171450c9873ce (patch)
treee59063210be676b28226cc1abfaa5d49f5f1752b
parentAdded '-y' option to when installing dependencies with apt. (diff)
downloadnewspipe-1a4a12081f9a55a851cbfcb0a0f171450c9873ce.tar.gz
newspipe-1a4a12081f9a55a851cbfcb0a0f171450c9873ce.tar.bz2
newspipe-1a4a12081f9a55a851cbfcb0a0f171450c9873ce.zip
Renamed a parameter of the install.sh script.
-rw-r--r--documentation/deployment.rst2
-rwxr-xr-xinstall.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/deployment.rst b/documentation/deployment.rst
index 158eda7d..0402afd3 100644
--- a/documentation/deployment.rst
+++ b/documentation/deployment.rst
@@ -88,7 +88,7 @@ If you want to use PostgreSQL
'''''''''''''''''''''''''''''
.. code-block:: bash
- $ ./install.sh postgre
+ $ ./install.sh postgres
If you want to use SQLite
'''''''''''''''''''''''''
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