postgis legacy version in Installer.maps-database, fixes #107

This commit is contained in:
mjames-upc 2017-03-20 13:04:39 -06:00
parent 50b643b846
commit dd416db036

View file

@ -168,7 +168,7 @@ if [ "${MAPS_DB_EXISTS}" = "false" ]; then
fi
# Do we still need legacy?
SQL_FILE="/awips2/postgresql/share/contrib/postgis-2.2/legacy.sql"
SQL_FILE="/awips2/postgresql/share/contrib/postgis-2.0/legacy.sql"
su - ${DB_OWNER} -c \
"${PSQL} -d maps -U awips -q -p 5432 -f ${SQL_FILE}" >> ${SQL_LOG} 2>&1
if [ $? -ne 0 ]; then