diff options
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 |
commit | 5f0a65ea59f56f78634cb5b480ff292bd0aa875e (patch) | |
tree | 0f5f0c76d0eaea3f918311b0c1a8fa626702d9e7 | |
parent | 413edba4217062ecbaa53fe05e3649a740ba0ffb (diff) | |
download | Ishtar-5f0a65ea59f56f78634cb5b480ff292bd0aa875e.tar.bz2 Ishtar-5f0a65ea59f56f78634cb5b480ff292bd0aa875e.zip |
Fix install script for raspbian
-rwxr-xr-x | install/ishtar-install | 4 | ||||
-rwxr-xr-x | install/ishtar-prepare-instance | 2 |
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;" |