mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-26 03:06:15 +02:00
ben-cyrillic: add the required LC_ALL env variable
This commit is contained in:
parent
c9435fb08d
commit
5de66bdfab
@ -2,3 +2,10 @@
|
|||||||
setfont2 /usr/share/ben-cyrillic/un-fuzzy-6x10-font_rus.pnm
|
setfont2 /usr/share/ben-cyrillic/un-fuzzy-6x10-font_rus.pnm
|
||||||
loadkeys /usr/share/ben-cyrillic/ben_ru_uni.map
|
loadkeys /usr/share/ben-cyrillic/ben_ru_uni.map
|
||||||
loadunimap /usr/share/ben-cyrillic/ben_ru_uni.trans
|
loadunimap /usr/share/ben-cyrillic/ben_ru_uni.trans
|
||||||
|
profile="/etc/profile"
|
||||||
|
locale="export LC_ALL=ru_RU.UTF-8"
|
||||||
|
grep "$locale" "$profile" > /dev/null 2>&1
|
||||||
|
if [ "$?" -eq "1" ]; then
|
||||||
|
#presumably first run, need to set the LC_ALL env
|
||||||
|
echo "$locale" >> "$profile"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user