Mageia Bugzilla – Attachment 6708 Details for
Bug 1015
CRDA set to wrong country after installation from live CD and with Live session (liveCD/DVD)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
set CRDA_DOMAIN when chaning country
1015.diff (text/plain), 566 bytes, created by
Thierry Vignaud
on 2015-06-05 15:41:47 CEST
(
hide
)
Description:
set CRDA_DOMAIN when chaning country
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-06-05 15:41:47 CEST
Size:
566 bytes
patch
obsolete
>--- lang.pm.tv8 2015-06-05 09:28:50.462305310 -0400 >+++ lang.pm 2015-06-05 09:40:28.442307029 -0400 >@@ -1478,6 +1478,10 @@ > $h2->{FONT_UNIMAP} = $h->{SYSFONTACM} if $h->{SYSFONTACM}; > addVarsInShMode($::prefix . $file, 0644, $h2); > } >+ my $file = "$::prefix/etc/sysconfig/network"; >+ my %net = getVarsFromSh($file); >+ $net{CRDA_DOMAIN} = $locale->{country}; >+ setVarsInSh($file, \%net); > } > > run_program::rooted($::prefix, 'grub-gfxmenu', '--quiet', '--lang', $locale->{lang}) if !$b_user_only;
--- lang.pm.tv8 2015-06-05 09:28:50.462305310 -0400 +++ lang.pm 2015-06-05 09:40:28.442307029 -0400 @@ -1478,6 +1478,10 @@ $h2->{FONT_UNIMAP} = $h->{SYSFONTACM} if $h->{SYSFONTACM}; addVarsInShMode($::prefix . $file, 0644, $h2); } + my $file = "$::prefix/etc/sysconfig/network"; + my %net = getVarsFromSh($file); + $net{CRDA_DOMAIN} = $locale->{country}; + setVarsInSh($file, \%net); } run_program::rooted($::prefix, 'grub-gfxmenu', '--quiet', '--lang', $locale->{lang}) if !$b_user_only;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1015
: 6708