summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-24 07:33:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-24 07:33:36 +0000
commit163127ef031bb3c9577ff836d7e79c85fc35af60 (patch)
tree385a4984c266855616c2bce46297497749f0f251 /perl-install/standalone/harddrake2
parenteb7d53859dc02600087bada6bb3fcbdeec185fb8 (diff)
downloaddrakx-163127ef031bb3c9577ff836d7e79c85fc35af60.tar
drakx-163127ef031bb3c9577ff836d7e79c85fc35af60.tar.gz
drakx-163127ef031bb3c9577ff836d7e79c85fc35af60.tar.bz2
drakx-163127ef031bb3c9577ff836d7e79c85fc35af60.tar.xz
drakx-163127ef031bb3c9577ff836d7e79c85fc35af60.zip
prefix devfs device name with "/dev/" too
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake24
1 files changed, 3 insertions, 1 deletions
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;