Skip to content

Commit 09aaebd

Browse files
committed
40-DE: add test case for existence of locale.conf
1 parent b29cd17 commit 09aaebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profile.d/40-DE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set locale for legacy desktop environments that do not respect localectl.
22
# TODO: export and fallback all the stuffs as defined in locale.conf(7).
3-
. /etc/locale.conf
3+
[ -f /etc/locale.conf ] && . /etc/locale.conf
44
: ${LC_ALL=${LANG=C}}
55
export LANG LC_ALL
66
if test -z "${XDG_RUNTIME_DIR}"; then

0 commit comments

Comments
 (0)