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 /install/ishtar-prepare-instance | |
parent | 413edba4217062ecbaa53fe05e3649a740ba0ffb (diff) | |
download | Ishtar-5f0a65ea59f56f78634cb5b480ff292bd0aa875e.tar.bz2 Ishtar-5f0a65ea59f56f78634cb5b480ff292bd0aa875e.zip |
Fix install script for raspbian
Diffstat (limited to 'install/ishtar-prepare-instance')
-rwxr-xr-x | install/ishtar-prepare-instance | 2 |
1 files changed, 1 insertions, 1 deletions
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;" |