diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-31 13:33:57 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-05-31 13:33:57 -0300 |
commit | 242208e31de48f4f67c54f9efe400799428bbdf7 (patch) | |
tree | 69be4a44b06d00c65e24ef6cb63a3e11422a944a /libre-testing/systemd/locale.sh | |
parent | 8530dec3776239e8e5c2b2d065861083011f46cf (diff) | |
download | abslibre-242208e31de48f4f67c54f9efe400799428bbdf7.tar.gz abslibre-242208e31de48f4f67c54f9efe400799428bbdf7.tar.bz2 abslibre-242208e31de48f4f67c54f9efe400799428bbdf7.zip |
systemd-184-1: add new systemd version with rePKGBUILD included to libre-testing
Diffstat (limited to 'libre-testing/systemd/locale.sh')
-rw-r--r-- | libre-testing/systemd/locale.sh | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/libre-testing/systemd/locale.sh b/libre-testing/systemd/locale.sh new file mode 100644 index 000000000..11f1bbbee --- /dev/null +++ b/libre-testing/systemd/locale.sh @@ -0,0 +1,59 @@ +#!/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 |