ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] rootfiles: /root/.i18n
@ 2024-12-11  5:32 Anton Midyukov
  0 siblings, 0 replies; only message in thread
From: Anton Midyukov @ 2024-12-11  5:32 UTC (permalink / raw)
  To: ALT Devel discussion list

Здравствуйте

В пакете rootfiles у нас пакуется конфиг /root/.i18n с таким содержимым:

LANGUAGE=POSIX
LANG=POSIX

eval `sed -n '/^LANG=[^.[:space:]]\+\.[Uu][Tt][Ff]-\?8[[:space:]]*$/ s/LANG=.*/NEED_UNICODE=1 LC_CTYPE=en_US.utf8/p' /etc/sysconfig/i18n 2>/dev/null` ||:

Так как теперь /etc/sysconfig/i18n мы больше не поставляем в сборках с systemd, то язык всегда POSIX и никакого unicode у root.

Но мне интересно, зачем вообще root'у делать дефолт языка POSIX?
Какую задачу решает эту конфиг? Почему нельзя положиться на системные настройки локали?

-- 
best regards, Anton Midyukov <antohami@altlinux.org>



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-11  5:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-11  5:32 [devel] rootfiles: /root/.i18n Anton Midyukov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git