summaryrefslogtreecommitdiff
path: root/core/systemd/locale.sh
blob: a4c413eed4d2629dad17f333bfa79e15d51c7571 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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