diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-14 14:40:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-14 14:40:50 +0000 |
commit | b87c9886955c9dd465f979ab34bd2898739e7b9e (patch) | |
tree | f2f99471342a13206cbccbafcf69557ad1bdf895 /move | |
parent | 7b38d205afe78fc218a845d586c9a13c61230304 (diff) | |
download | drakx-backup-do-not-use-b87c9886955c9dd465f979ab34bd2898739e7b9e.tar drakx-backup-do-not-use-b87c9886955c9dd465f979ab34bd2898739e7b9e.tar.gz drakx-backup-do-not-use-b87c9886955c9dd465f979ab34bd2898739e7b9e.tar.bz2 drakx-backup-do-not-use-b87c9886955c9dd465f979ab34bd2898739e7b9e.tar.xz drakx-backup-do-not-use-b87c9886955c9dd465f979ab34bd2898739e7b9e.zip |
un-share shared i18n files
(currently /usr/share/locale/{es,it,en_US}/LC_CTYPE)
that way, no need to have
live_tree_always_i18n_iso_8859_1.clp and
live_tree_always_i18n_iso_8859_15.clp
used by
live_tree_always_i18n_en_US.clp, live_tree_always_i18n_es.clp, live_tree_always_i18n_it.clp
Diffstat (limited to 'move')
-rwxr-xr-x | move/make_live_tree_boot | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot index 73422dab5..379f60c8d 100755 --- a/move/make_live_tree_boot +++ b/move/make_live_tree_boot @@ -127,7 +127,15 @@ if (!@ARGV) { create_light_tree('boot', \@boot_list); create_light_tree('totem', \@totem_list); foreach my $lang (@ALLOWED_LANGS) { - my @list = map { my $s = $_; $s =~ s/__LANG__/$lang/; if_(-e $s, $s) } @always_i18n_list; + my @list = map { + my $s = $_; + $s =~ s/__LANG__/$lang/; + if (readlink($s) =~ m!^[^/]!) { + system('cp', $s, "$s-"); + rename "$s-", $s; + } + if_(-e $s, $s); + } @always_i18n_list; create_light_tree("always_i18n_$lang", \@list); } create_totem_links('totem', \@totem_list_orig); |