summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-29 08:17:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-29 08:17:40 +0000
commit5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956 (patch)
treebbbaba1cc87a40ed1e63dfe3cf9d4b08137f52ea /perl-install/standalone/harddrake2
parent100000515155e7fee26c44457fb266fd0e6d188f (diff)
downloaddrakx-backup-do-not-use-5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956.tar
drakx-backup-do-not-use-5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956.tar.gz
drakx-backup-do-not-use-5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956.tar.bz2
drakx-backup-do-not-use-5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956.tar.xz
drakx-backup-do-not-use-5f832d0f8b93bf85f2d1dbc7b9a856459e8f3956.zip
print badly managed devices' drivers in red
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake22
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 7411d14ae..02930f1f6 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -176,7 +176,7 @@ my $selection = gtksignal_connect($tree->get_selection(), 'changed' => sub {
if ($current_device) {
gtktext_insert($text, [ map {
if_($fields{$_}[0], [ $fields{$_}[0] . ": ", { 'foreground' => 'royalblue3', 'weight' => Gtk2::Pango->WEIGHT_BOLD } ],
- [ "$current_device->{$_}\n\n", { 'foreground' => ($_ eq 'driver' && $current_device->{$_} eq 'unknown' ? 'indian red' : 'black') } ])
+ [ "$current_device->{$_}\n\n", { 'foreground' => ($_ eq 'driver' && $current_device->{$_} =~ /^(unknown|Bad:)/ ? 'indian red' : 'black') } ])
} sort keys %$current_device ]);
foreach (keys %$current_device) {