POSTIN
/bin/sh
/usr/bin/localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R -A /usr/share/locale/locale.alias 2>/dev/null
/usr/bin/localedef -i ru_RU -f UTF-8 ru_RU.UTF-8 -A /usr/share/locale/locale.alias 2>/dev/null
/usr/bin/localedef -i ru_RU -f ISO-8859-5 ru_RU -A /usr/share/locale/locale.alias 2>/dev/null
/usr/bin/localedef -i ru_UA -f UTF-8 ru_UA.UTF-8 -A /usr/share/locale/locale.alias 2>/dev/null
/usr/bin/localedef -i ru_UA -f KOI8-U ru_UA -A /usr/share/locale/locale.alias 2>/dev/null
POSTUN
/bin/sh
if [ "ru_RU.KOI8-R/KOI8-R" = "0" ]; then
# There is no way to remove locale data from the locale-archive cache
# without rebuilding the entire thing...
/usr/sbin/rebuild-locale-archive
fi