diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-15 17:34:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-15 17:34:42 +0000 |
commit | b1195bf4d4368378aa0b42ceabd16528f64e15e4 (patch) | |
tree | fff57097d9c3dd0a64d59a5cd4b63c8a9e55e0c4 /perl-install/install_any.pm | |
parent | 38ee09c12951a64a51d5175714fcfd3fa11a2d18 (diff) | |
download | drakx-backup-do-not-use-b1195bf4d4368378aa0b42ceabd16528f64e15e4.tar drakx-backup-do-not-use-b1195bf4d4368378aa0b42ceabd16528f64e15e4.tar.gz drakx-backup-do-not-use-b1195bf4d4368378aa0b42ceabd16528f64e15e4.tar.bz2 drakx-backup-do-not-use-b1195bf4d4368378aa0b42ceabd16528f64e15e4.tar.xz drakx-backup-do-not-use-b1195bf4d4368378aa0b42ceabd16528f64e15e4.zip |
Fix cdrom device name
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index b045cda5c..cb5562244 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -440,6 +440,7 @@ sub selectSupplMedia { (my $cdromdev) = detect_devices::cdroms(); $o->ask_warn('', N("No device found")), return 'error' if !$cdromdev; $cdrom = $cdromdev->{device}; + $cdrom =~ m,^/, or $cdrom = "/dev/$cdrom"; devices::make($cdrom); ejectCdrom($cdrom); if ($o->ask_okcancel('', N("Insert the CD"), 1)) { |