From 163127ef031bb3c9577ff836d7e79c85fc35af60 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Feb 2003 07:33:36 +0000 Subject: prefix devfs device name with "/dev/" too --- perl-install/standalone/harddrake2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 418c78793..61320f5f7 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -267,7 +267,9 @@ foreach (@harddrake::data::tree) { my $custom_id = harddrake::data::custom_id($_, $title); $custom_id .= ' ' while $data{$custom_id}; # get a unique id for eg bt8xx audio/video funtions - $_->{device} = '/dev/'.$_->{device} if $_->{device}; + foreach my $field (qw(devfs_device device)) { + $_->{$field} = '/dev/'.$_->{$field} if $_->{$field}; + } $tree_model->append_set($parent_iter, [ 1 => $custom_id ])->free; $data{$custom_id} = $_; $configurators{$custom_id} = $configurator; -- cgit v1.2.1