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

Contents 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


Revision 1.1 - (show annotations) (download)
Thu Aug 4 11:00:36 2016 UTC (7 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-base-5_8_0-28_el7_sme, e-smith-base-5_8_0-29_el7_sme, e-smith-base-5_8_0-30_el7_sme, e-smith-base-5_8_0-32_el7_sme, e-smith-base-5_8_0-31_el7_sme, e-smith-base-5_8_0-33_el7_sme
* Thu Aug 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-28.sme
- fix config db locale property [SME: 9724]

1 diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/migrate/05sysconfig e-smith-base-5.8.0/root/etc/e-smith/db/configuration/migrate/05sysconfig
2 --- e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/migrate/05sysconfig 2016-08-04 06:50:01.243000000 -0400
3 +++ e-smith-base-5.8.0/root/etc/e-smith/db/configuration/migrate/05sysconfig 2016-08-04 06:52:23.987000000 -0400
4 @@ -3,7 +3,7 @@
5 my ($line) = grep(/^LANG/, <F>);
6 close F;
7
8 - my $lang = ($line =~ /^LANG="(.*)"/) ? $1 : "en-us";
9 + my $lang = ($line =~ /^LANG="?(.*)"?/) ? $1 : "en_US.UTF-8";
10
11 my $kbdtype = "pc";
12 my $keytable = "us";

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