diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-27 10:53:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-27 10:53:41 +0000 |
commit | 854b6d1446c6a8a1e49d67d3bae3b084ff0bec7a (patch) | |
tree | c5de3b31afca63d467377f5c163343e8d2ee91e9 | |
parent | bffc9aff55b1df3475824bb618a245c74c188445 (diff) | |
download | drakx-854b6d1446c6a8a1e49d67d3bae3b084ff0bec7a.tar drakx-854b6d1446c6a8a1e49d67d3bae3b084ff0bec7a.tar.gz drakx-854b6d1446c6a8a1e49d67d3bae3b084ff0bec7a.tar.bz2 drakx-854b6d1446c6a8a1e49d67d3bae3b084ff0bec7a.tar.xz drakx-854b6d1446c6a8a1e49d67d3bae3b084ff0bec7a.zip |
perl_checker cleanup
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index b441eb662..b92f6304e 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -123,7 +123,7 @@ foreach my $card (@cards) { } else { my @cards = Xconfig::card::probe(); my $driver = $cards[0]{Driver}; - my $old_driver = $1 if cat_('/etc/X11/xorg.conf') =~ /Driver "($card->{xorg_driver_regexp})"/; + my $old_driver = cat_('/etc/X11/xorg.conf') =~ /Driver "($card->{xorg_driver_regexp})"/ && $1; if ($old_driver) { switch_x_driver($card->{xorg_driver_regexp}, $driver, 'proprietary driver not found for current driver'); |