summaryrefslogtreecommitdiffstats
path: root/system/postgresql/setup.postgresql
diff options
context:
space:
mode:
author Adis Nezirovic2014-04-12 10:11:59 +0200
committer Willy Sudiarto Raharjo2014-04-12 10:11:59 +0200
commit498d927ecd48e6938166e47ac50da0657f711ad9 (patch)
tree91f0d0b7261611fd7b52af3e13bd71e81b441f83 /system/postgresql/setup.postgresql
parent1eddf6024ece2ec6add2aaf90d509f0af46b4b6a (diff)
downloadslackbuilds-498d927ecd48e6938166e47ac50da0657f711ad9.tar.gz
system/postgresql: Updated for version 9.3.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/postgresql/setup.postgresql')
-rw-r--r--system/postgresql/setup.postgresql2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/postgresql/setup.postgresql b/system/postgresql/setup.postgresql
index 4f07996e19..2f0ec5f549 100644
--- a/system/postgresql/setup.postgresql
+++ b/system/postgresql/setup.postgresql
@@ -23,7 +23,7 @@ chmod 700 $PG_HOME/$PG_VERSION/data
## database cluster
if [ ! -f $PG_HOME/$PG_VERSION/data/PG_VERSION ]; then
echo "Creating database cluster in $PG_HOME/$PG_VERSION/data..."
- su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data -E utf-8 -A md5 -W"
+ su $PG_USER -c "initdb -D $PG_HOME/$PG_VERSION/data --locale=en_US.UTF-8 -A md5 -W"
else
echo "*** WARNING ***" >&2
echo " There is already a database cluster in $PG_HOME/$PG_VERSION/data." >&2