From 5f0a65ea59f56f78634cb5b480ff292bd0aa875e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 19 Jun 2018 00:20:38 +0200 Subject: Fix install script for raspbian --- install/ishtar-prepare-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/ishtar-prepare-instance') 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;" -- cgit v1.2.3