diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 23:27:23 +0100 |
| commit | 9352995934adec8059077af241c35ccd1573bd80 (patch) | |
| tree | 60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /ben-cyrillic/files/russian.sh | |
| parent | ef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff) | |
| parent | 880bca260c4ce91554a49b2475232cf5c0ffd447 (diff) | |
| download | qipackages-fork-master.tar.gz | |
Conflicts:
links/Makefile
Diffstat (limited to 'ben-cyrillic/files/russian.sh')
| -rw-r--r-- | ben-cyrillic/files/russian.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ben-cyrillic/files/russian.sh b/ben-cyrillic/files/russian.sh new file mode 100644 index 0000000..95f81b5 --- /dev/null +++ b/ben-cyrillic/files/russian.sh @@ -0,0 +1,11 @@ +#!/bin/sh +setfont2 /usr/share/ben-cyrillic/un-fuzzy-6x10-font_rus.pnm +loadkeys /usr/share/ben-cyrillic/ben_ru_uni.map +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 |
