[ -f /etc/profile ] && source /etc/profile
CONFIG=/etc/sysconfig/postgresql
PGDATA=/var/lib/pgsql/data
[ -f "$CONFIG" ] && . "$CONFIG"

if [ -f /etc/debian_version ]; then
   grep 'en_US en_US.UTF8' /etc/locale.alias || locale-gen en_US && dpkg-reconfigure locales
fi
export PGDATA
