summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index d709a4fea..b8720e1f6 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -127,7 +127,7 @@ foreach my $device (@devices) {
# nvidia proprietary driver in ldetect-lst can be 'nvidia173', 'nvidia-current', ...
# but really is just 'nvidia' in xorg.conf:
- $card_data->{Driver2} =~ s/(nvidia)-.*/$1/;
+ $card_data->{Driver2} =~ s/(nvidia).*/$1/;
# auto reconfigure x11 only on first time default driver have changed:
my $new_key = $card_data->{Driver} . $card_data->{Driver2};