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 | 1964c8cdb844014dd1a96d51188bf30947dabd6a (patch) | |
tree | 0f5f0c76d0eaea3f918311b0c1a8fa626702d9e7 /install/ishtar-prepare-instance | |
parent | b29102440f8be152c5f0b7e0632dfb0ead7a524d (diff) | |
download | Ishtar-1964c8cdb844014dd1a96d51188bf30947dabd6a.tar.bz2 Ishtar-1964c8cdb844014dd1a96d51188bf30947dabd6a.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;" |