summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-28 16:06:50 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-28 16:06:50 +0000
commit-rw-r--r--po/ga.po48
1 files changed, 23 insertions, 25 deletions
diff --git a/po/ga.po b/po/ga.po
index 5d41d770..64416c0f 100644
--- a/po/ga.po
+++ b/po/ga.po
@@ -8,7 +8,7 @@
msgid ""
msgstr ""
"Project-Id-Version: rpmdrake\n"
-"POT-Creation-Date: 2003-08-19 15:43+0200\n"
+"POT-Creation-Date: 2003-09-03 22:14+0200\n"
"PO-Revision-Date: 2000-08-24 12:00-0000\n"
"Last-Translator: Alastair McKinstry <mckinstry@computer.org>\n"
"Language-Team: Irish <ga@li.org>\n"
@@ -398,7 +398,7 @@ msgstr ""
msgid "Some packages can't be installed"
msgstr ""
-#: ../rpmdrake:1
+#: ../rpmdrake:1 ../edit-urpm-sources.pl:1
#, c-format
msgid ""
"Treconfigure X11 driver if current X11 driver is neither one of currently
supported driver for the card for drivers other than ATI & NVidia too
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS5
-rwxr-xr-xperl-install/standalone/service_harddrake13
2 files changed, 13 insertions, 5 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index f4ed02c3b..32dd45230 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,8 @@
+- service_harddrake:
+ o reconfigure X11 driver if current X11 driver is neither one of
+ currently supported driver for the card for drivers other than ATI
+ & NVidia too (eg: poulsbo)
+
Version 12.72 - 27 October 2009
- drakboot:
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index acf3494a7..5848975e1 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -98,19 +98,22 @@ my @cards = (
my @devices = grep { $_->{driver} =~ /^Card:/ } detect_devices::probeall();
-foreach my $card (@cards) {
- my $device = find { $_->{driver} =~ /$card->{ldetect_driver_regexp}/ } @devices;
- next if !$device;
-
+foreach my $device (@devices) {
my $id = $device->{driver} =~ /Card:(.*)/ && $1;
my $card_data = Xconfig::card::readCardsDB("/usr/share/ldetect-lst/Cards+")->{$id};
my $current_driver = get_xorg_driver();
if (!member($current_driver, $card_data->{Driver}, $card_data->{Driver2}, 'fbdev', 'vesa')) {
switch_x_driver($current_driver, $card_data->{Driver}, 'no more supported by this driver');
- schedule_warn_about_switch() if $current_driver =~ $card->{xorg_driver_regexp};
+ schedule_warn_about_switch() if any { $current_driver =~ $_->{xorg_driver_regexp} } @cards;
next;
}
+}
+
+
+foreach my $card (@cards) {
+ my $device = find { $_->{driver} =~ /$card->{ldetect_driver_regexp}/ } @devices;
+ next if !$device;
if (find { -e join('', "/lib/modules/", c::kernel_version(), $_) }
map { ("/dkms/$_", "/dkms-binary/$_", "/kernel/$_") } map { "/drivers/$_" } map { ("extra/$_", "video/$_", "char/$_", "char/drm/$_") } map { $_, "$_.gz" } @{$card->{module_names}}) {