aboutsummaryrefslogtreecommitdiff
path: root/install.sh
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 /install.sh
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.
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