diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:58:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:58:48 (GMT) |
commit | c0b6d75b1e6877b6b74eafdd8a5f6034159148c4 (patch) | |
tree | 6a73a15f8133614fb225fad66a3209a358d19abc /abs/core/systemd/locale.sh | |
parent | 25406062dd0370e3fd493280cede6104704dd519 (diff) | |
download | linhes_pkgbuild-c0b6d75b1e6877b6b74eafdd8a5f6034159148c4.zip linhes_pkgbuild-c0b6d75b1e6877b6b74eafdd8a5f6034159148c4.tar.gz linhes_pkgbuild-c0b6d75b1e6877b6b74eafdd8a5f6034159148c4.tar.bz2 |
systemd 187
-new
Diffstat (limited to 'abs/core/systemd/locale.sh')
-rw-r--r-- | abs/core/systemd/locale.sh | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/abs/core/systemd/locale.sh b/abs/core/systemd/locale.sh new file mode 100644 index 0000000..a4c413e --- /dev/null +++ b/abs/core/systemd/locale.sh @@ -0,0 +1,60 @@ +#!/bin/sh + +if [ ! -r /etc/locale.conf ]; then + return +fi + +. /etc/locale.conf + +if [ "${LANG+x}" = 'x' ]; then + export LANG +fi + +if [ "${LC_CTYPE+x}" = 'x' ]; then + export LC_CTYPE +fi + +if [ "${LC_NUMERIC+x}" = 'x' ]; then + export LC_NUMERIC +fi + +if [ "${LC_TIME+x}" = 'x' ]; then + export LC_TIME +fi + +if [ "${LC_COLLATE+x}" = 'x' ]; then + export LC_COLLATE +fi + +if [ "${LC_MONETARY+x}" = 'x' ]; then + export LC_MONETARY +fi + +if [ "${LC_MESSAGES+x}" = 'x' ]; then + export LC_MESSAGES +fi + +if [ "${LC_PAPER+x}" = 'x' ]; then + export LC_PAPER +fi + +if [ "${LC_NAME+x}" = 'x' ]; then + export LC_NAME +fi + +if [ "${LC_ADDRESS+x}" = 'x' ]; then + export LC_ADDRESS +fi + +if [ "${LC_TELEPHONE+x}" = 'x' ]; then + export LC_TELEPHONE +fi + +if [ "${LC_MEASUREMENT+x}" = 'x' ]; then + export LC_MEASUREMENT +fi + +if [ "${LC_IDENTIFICATION+x}" = 'x' ]; then + export LC_IDENTIFICATION +fi + |