File: do_locales

package info (click to toggle)
glibc-pre2.1 2.0.93-980414-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 43,920 kB
  • ctags: 42,602
  • sloc: ansic: 325,848; asm: 23,534; makefile: 3,352; sh: 3,283; awk: 582; perl: 474; csh: 15; sed: 10
file content (52 lines) | stat: -rw-r--r-- 1,374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash

LOADER=$1
export LD_LIBRARY_PATH=`pwd`/debian/hold/lib
export I18NPATH=debian/tmp/usr/share/i18n/locales

function do_locale {
	debian/hold/lib/$LOADER debian/hold/usr/bin/localedef \
		-c -i debian/hold/usr/share/i18n/locales/$1 \
		-f debian/hold/usr/share/i18n/charmaps/$2 \
		debian/tmp/usr/share/locale/$1 ;
}

do_locale da_DK ISO-8859-1
do_locale de_AT ISO-8859-1
do_locale de_BE ISO-8859-1
do_locale de_CH ISO-8859-1
do_locale de_DE ISO-8859-1
do_locale de_LU ISO-8859-1
do_locale en_CA ISO-8859-1
do_locale en_DK ISO-8859-1
do_locale en_GB ISO-8859-1
do_locale en_IE ISO-8859-1
do_locale en_US ISO-8859-1
do_locale es_ES ISO-8859-1
do_locale et_EE ISO-8859-1
do_locale fi_FI ISO-8859-1
do_locale fo_FO ISO-8859-1
do_locale fr_BE ISO-8859-1
do_locale fr_CA ISO-8859-1
do_locale fr_CH ISO-8859-1
do_locale fr_FR ISO-8859-1
do_locale fr_LU ISO-8859-1
do_locale gr_GR ISO-8859-7
do_locale hr_HR ISO-8859-4
do_locale hu_HU ISO-8859-2
do_locale is_IS ISO-8859-1
do_locale it_IT ISO-8859-1
do_locale iw_IL ISO-8859-8
do_locale kl_GL ISO-8859-1
do_locale lt_LT BALTIC
do_locale lv_LV BALTIC
do_locale nl_BE ISO-8859-1
do_locale nl_NL ISO-8859-1
do_locale no_NO ISO-8859-1
do_locale pl_PL ISO-8859-2
do_locale pt_PT ISO-8859-1
do_locale ro_RO ISO-8859-1
do_locale ru_RU ISO-8859-5
do_locale sl_SI ISO-8859-2
do_locale sv_FI ISO-8859-1
do_locale sv_SE ISO-8859-1