/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-4.18.0-ethdriver.patch4
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-4.18.0-ethdriver.patch4

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


Revision 1.2 - (hide annotations) (download)
Wed Mar 26 17:01:51 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 4.18.1-2
- Fix gettext strings returned by password checks [SME: 4104]

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm
2     --- e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2007-03-06 16:56:04.000000000 -0700
3     +++ mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2007-03-06 16:55:45.000000000 -0700
4     @@ -80,7 +80,7 @@
5     my $default;
6    
7     my $existing_driver = $db->get_value($confEntry);
8     - my $driver1 = $db->get_value("EthernetDriver1");
9     + my $skip = ($confEntry eq "EthernetDriver2") ? $db->get_value("EthernetDriver1") : '';
10    
11     foreach my $adapter ( @adapters )
12     {
13     @@ -99,7 +99,11 @@
14    
15     push(@args, $tag, substr($display_name, 0, 65));
16    
17     - $default = $tag if (${driver} eq $existing_driver || ${driver} ne $driver1);
18     + if ($driver ne $skip)
19     + {
20     + $default = $tag if $driver eq $existing_driver;
21     + $default ||= $tag;
22     + }
23     }
24    
25     push( @args,

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