summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
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 59b481fae..7fae1fb8d 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -517,6 +517,7 @@ sub charset {
foreach (cat_("$prefix/usr/X11R6/lib/X11/locale/locale.alias")) {
/$l:\s+.*\.(\S+)/ and return $1;
}
+ $l =~ /.*\.(\S+)/ and return $1;
}
#-######################################################################################