summaryrefslogtreecommitdiffstats
path: root/perl-install/share
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-12 08:58:32 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-12 08:58:32 +0000
commit3c9786002b9179fc49bd22b6b4d8eda0b277c6d1 (patch)
treef2672a0ab8769f2cc1efddab92047ad9233f9ac5 /perl-install/share
parent917ac587c5de1f9caaaf112c3b0e58edf4482aeb (diff)
downloaddrakx-3c9786002b9179fc49bd22b6b4d8eda0b277c6d1.tar
drakx-3c9786002b9179fc49bd22b6b4d8eda0b277c6d1.tar.gz
drakx-3c9786002b9179fc49bd22b6b4d8eda0b277c6d1.tar.bz2
drakx-3c9786002b9179fc49bd22b6b4d8eda0b277c6d1.tar.xz
drakx-3c9786002b9179fc49bd22b6b4d8eda0b277c6d1.zip
still needed since installer can't make symlinks on read-only stage2,
and we can't easily workaround it by modifying LC_* variables
Diffstat (limited to 'perl-install/share')
-rwxr-xr-xperl-install/share/gen_locales.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/share/gen_locales.sh b/perl-install/share/gen_locales.sh
index 50a9b4c3a..6d1ed5fe1 100755
--- a/perl-install/share/gen_locales.sh
+++ b/perl-install/share/gen_locales.sh
@@ -8,6 +8,8 @@ for i in LC_ADDRESS LC_COLLATE LC_CTYPE LC_IDENTIFICATION LC_MEASUREMENT LC_MONE
install -D -m 644 /usr/share/locale/UTF-8/$i usr/share/locale/en_US.UTF-8/$i
done
+perl -I../.. ../gen_locales.pl || exit 1
+
for i in C en_US.UTF-8 iso8859-1 ; do
cp -a /usr/X11R6/lib/X11/locale/$i usr/X11R6/lib/X11/locale
done