]> git.bzium.org/ - embe/embe-profile-files.git/commitdiff
Dodanie obsługi GDM_LANG
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Sun, 18 Apr 2021 10:24:33 +0000 (12:24 +0200)
committerMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Sun, 18 Apr 2021 10:24:33 +0000 (12:24 +0200)
.gitignore
00-embe-gdm-lang-fixup.sh [new file with mode: 0644]

index de5d7b2899fcf7b1a9a0a477d09ec47a627dd9e4..e80caf2d000c693f9f33e869679db9ec0f0bb210 100644 (file)
@@ -1,2 +1,3 @@
 *.sh
 !prefix.sh
+!00-embe-gdm-lang-fixup.sh
diff --git a/00-embe-gdm-lang-fixup.sh b/00-embe-gdm-lang-fixup.sh
new file mode 100644 (file)
index 0000000..7c7b61b
--- /dev/null
@@ -0,0 +1,4 @@
+[[ -n "$GDM_LANG" ]] || return
+
+export LC_MESSAGES="$GDM_LANG"
+unset GDM_LANG