/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0.bz9724.locale_sysconfig.patch
ViewVC logotype

Diff of /rpms/e-smith-base/sme10/e-smith-base-5.8.0.bz9724.locale_sysconfig.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Thu Aug 4 11:00:36 2016 UTC Revision 1.2 by unnilennium, Sat Apr 15 04:11:53 2017 UTC
# Line 6  diff -Nur e-smith-base-5.8.0.old/root/et Line 6  diff -Nur e-smith-base-5.8.0.old/root/et
6       close F;       close F;
7    
8  -    my $lang = ($line =~ /^LANG="(.*)"/) ? $1 : "en-us";  -    my $lang = ($line =~ /^LANG="(.*)"/) ? $1 : "en-us";
9  +    my $lang = ($line =~ /^LANG="?(.*)"?/) ? $1 : "en_US.UTF-8";  +    my $lang = ($line =~ /^LANG="?([a-zA-Z0-9_.-]*)"?/) ? $1 : "en_US.UTF-8";
10    
11       my $kbdtype = "pc";       my $kbdtype = "pc";
12       my $keytable = "us";       my $keytable = "us";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed