mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-24 08:52:18 +02:00
Update postgresql-v5-install.sh
ensure that the PostgreSQL database server uses UTF-8 encoding and collation
This commit is contained in:
parent
9bfbb57f11
commit
e6db5a353b
@ -47,6 +47,9 @@ function msg_error() {
|
||||
msg_info "Setting up Container OS "
|
||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||
locale-gen >/dev/null
|
||||
LANG=$(grep -v '^#' /etc/locale.gen | grep -o '^[^ ]*')
|
||||
update-locale LANG=$LANG
|
||||
echo "export LANG=$LANG" >> ~/.bashrc
|
||||
echo $tz > /etc/timezone
|
||||
ln -sf /usr/share/zoneinfo/$tz /etc/localtime
|
||||
for ((i=RETRY_NUM; i>0; i--)); do
|
||||
|
Loading…
Reference in New Issue
Block a user