summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-19 00:20:38 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-19 00:20:38 +0200
commit1964c8cdb844014dd1a96d51188bf30947dabd6a (patch)
tree0f5f0c76d0eaea3f918311b0c1a8fa626702d9e7 /install
parentb29102440f8be152c5f0b7e0632dfb0ead7a524d (diff)
downloadIshtar-1964c8cdb844014dd1a96d51188bf30947dabd6a.tar.bz2
Ishtar-1964c8cdb844014dd1a96d51188bf30947dabd6a.zip
Fix install script for raspbian
Diffstat (limited to 'install')
-rwxr-xr-xinstall/ishtar-install4
-rwxr-xr-xinstall/ishtar-prepare-instance2
2 files changed, 3 insertions, 3 deletions
diff --git a/install/ishtar-install b/install/ishtar-install
index fb938b02c..aaf61893b 100755
--- a/install/ishtar-install
+++ b/install/ishtar-install
@@ -421,10 +421,10 @@ EOF
fi
if [ "$lsb_dist" == 'raspbian' ]; then
( set -x; $sh_c 'pip install django==1.11 \
- django-registration==2.2' \
+ django-registration==2.2 \
django-compressor==2.1 \
django-extra-views==0.2.4 \
- django-extensions==1.7.4 )
+ django-extensions==1.7.4' )
( set -x; $sh_c 'sleep 3; apt-get install -y -q \
libpangocairo-1.0-0 python-requests \
python-bs4 python-cffi \
diff --git a/install/ishtar-prepare-instance b/install/ishtar-prepare-instance
index c89ff9259..d5470e502 100755
--- a/install/ishtar-prepare-instance
+++ b/install/ishtar-prepare-instance
@@ -188,7 +188,7 @@ EOF
echo " - not present, creating"
createdb -E UTF8 template_postgis
psql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE datname='template_postgis'"
- psql -q -d template_postgis -f /usr/share/postgresql/$PG_VERSION/extensions/postgis--$POSTGIS_VERSION.sql
+ psql -q -d template_postgis -f /usr/share/postgresql/$PG_VERSION/extension/postgis--$POSTGIS_VERSION.sql
psql -d template_postgis -c "GRANT ALL ON geometry_columns TO PUBLIC;"
psql -d template_postgis -c "GRANT ALL ON geography_columns TO PUBLIC;"
psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;"