Commit d359efb0 authored by Anton Midyukov's avatar Anton Midyukov

cleanup: do not cleanup locales in live

1. The default locale for root is now C.UTF-8 (/root/.i18n) 2. When connecting via ssh, the locale is the one in the system we are connecting from. That's why we need locales.
parent 8bb0831c
#!/bin/sh
# FIXME: there should be less brutal i18n tuning
# don't cripple the image to be copied over
[ -n "$GLOBAL_LIVE_INSTALL"] || \
[ -x /usr/sbin/live-install ] || \
[ -x /usr/sbin/livecd-install ] && exit 0
cd /usr/share/locale
rm -r *@*
for i in */; do
case "$i" in
be*|en*|ru*|uk*) continue;;
esac
rm -r "$i"
done
:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment