diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-19 14:12:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-19 14:12:51 +0000 |
commit | b6c81a431dc681db51eaf22eaf090c280b56d9f4 (patch) | |
tree | 8fae13da62744d8e0b12e1545abe2582c5bfa4fc /perl-install/standalone | |
parent | fbc45ca35ec37193c98efe2e804278b26ef34eb6 (diff) | |
download | drakx-backup-do-not-use-b6c81a431dc681db51eaf22eaf090c280b56d9f4.tar drakx-backup-do-not-use-b6c81a431dc681db51eaf22eaf090c280b56d9f4.tar.gz drakx-backup-do-not-use-b6c81a431dc681db51eaf22eaf090c280b56d9f4.tar.bz2 drakx-backup-do-not-use-b6c81a431dc681db51eaf22eaf090c280b56d9f4.tar.xz drakx-backup-do-not-use-b6c81a431dc681db51eaf22eaf090c280b56d9f4.zip |
localize drive capabilites (aka burning, dvd managment, ...)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 6127f3b6b..627d355af 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -273,6 +273,11 @@ foreach (@harddrake::data::tree) { my $i = $_; $_->{bus_location} = join ':', map { sprintf("%lx", $i->{$_}) } qw(channel id lun); } + if (defined $_->{capacity}) { + my ($burner, $dvd) = (N("burner"), N("DVD")); + $_->{capacity} =~ s/burner/$burner/; + $_->{capacity} =~ s/DVD/$dvd/; + } $configurator .= harddrake::data::set_removable_configurator($Ident, $_); if ($Ident eq "AUDIO") { require harddrake::sound; |