From defe9ff6490a9b3fbcd32311f395f6780af0e937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Vanet?= Date: Fri, 6 Mar 2015 10:34:06 +0100 Subject: [PATCH] Fix installing unaccent extension - specify databases --- start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start b/start index b0c9008..14f1293 100755 --- a/start +++ b/start @@ -124,7 +124,7 @@ if [ -n "${DB_NAME}" ]; then if [ "${DB_UNACCENT}" == "true" ]; then echo "Installing unaccent extension..." echo "CREATE EXTENSION IF NOT EXISTS unaccent;" | \ - sudo -u postgres -H ${PG_BINDIR}/postgres --single \ + sudo -u postgres -H ${PG_BINDIR}/postgres --single ${db} \ -D ${PG_DATADIR} -c config_file=${PG_CONFDIR}/postgresql.conf >/dev/null fi