freebsd-skq/etc/locale.deprecated
Alexey Zelkin 688a6139bd Correctly handle cases of deprecated locales which are supposed
to have backward compatibility symbolic links.

This code should check existence of deprecated locales and
fix them using following scheme:

. if new locale directory exisists and is a symlink -- remove it
. if old locale directory exists and not a symlink -- rename it to
  its new name

This should allow to mtree(1) and existing locale aliases make(1)
rules to setup locale dirs correctly (avoid self-referenced symlinks)

BTW, this commit brings in backward compatibility support for ru_SU
locales (aliased to appropriate ru_RU ones).
2002-01-08 13:42:52 +00:00

12 lines
259 B
Plaintext

# $FreeBSD$
#
# List of deprecated locales
#
# Make sure that deprecated locale directories and their replacements
# are set up correctly.
#
ru_SU.KOI8-R ru_RU.KOI8-R
ru_SU.ISO_8859-1 ru_RU.ISO8859-1
ru_SU.CP866 ru_RU.CP866
ru_RU.ISO_8859-1 ru_RU.ISO8859-1