summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/lang.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index e4e899c91..a05706914 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -901,7 +901,9 @@ sub write {
my $p = "$prefix/usr/lib/kbd";
if ($name) {
eval {
- cp_af("$p/consolefonts/$name.psf.gz", "$prefix/etc/sysconfig/console/consolefonts");
+ my $font = "$p/consolefonts/$name.psf";
+ $font .= ".gz" if ! -e $font;
+ cp_af($font, "$prefix/etc/sysconfig/console/consolefonts");
add2hash $h, { SYSFONT => $name };
};
$@ and log::l("missing console font $name");