summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-13 19:58:35 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-13 19:58:35 +0000
commit717364ef8408086bb129ba10cf30361c82af3f74 (patch)
tree56df7b7bc765a433e52bf12d95e5dc66b254baae /perl-install/lang.pm
parent94d5004633a8bd3b77d30224cc6d6086c05ca50d (diff)
downloaddrakx-backup-do-not-use-717364ef8408086bb129ba10cf30361c82af3f74.tar
drakx-backup-do-not-use-717364ef8408086bb129ba10cf30361c82af3f74.tar.gz
drakx-backup-do-not-use-717364ef8408086bb129ba10cf30361c82af3f74.tar.bz2
drakx-backup-do-not-use-717364ef8408086bb129ba10cf30361c82af3f74.tar.xz
drakx-backup-do-not-use-717364ef8408086bb129ba10cf30361c82af3f74.zip
don't allow going back from accept_licenser to select_language, hence allow removing langs images before downloading huge CJK fonts
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 1e3e88db3..2b8348239 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -485,6 +485,7 @@ sub l2pango_font {
if (common::usingRamdisk()) {
if ($charsets{$charset}[0] !~ /lat|koi|UniCyr/) {
install_any::remove_bigseldom_used();
+ unlink glob_('/usr/share/langs/*'); #- remove langs images
my @generic_fontfiles = qw(/usr/X11R6/lib/X11/fonts/12x13mdk.pcf.gz /usr/X11R6/lib/X11/fonts/18x18mdk.pcf.gz);
#- need to unlink first because the files actually exist (and are void); they must exist
#- because if not, when gtk starts, pango will recompute its cache file and exclude them