diff options
Diffstat (limited to 'archfi')
-rw-r--r-- | archfi | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -90,11 +90,13 @@ chooselanguage(){ if [ "$sel" = "English" ]; then loadstrings else - case $sel in - "Russian") eval $(setfont cyr-sun16);; - esac eval $(curl -L $baseurl/lng/$sel | sed '/^#/ d') fi + eval $(setfont $font) + font= + sed -i "/$locale.UTF-8/s/^#//g" /etc/locale.gen + locale-gen + export LANG=$locale fi } |