summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-02-17 22:41:25 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-02-17 23:26:41 +0100
commit377e714008c08a1b8439ae619624b1218627afd9 (patch)
treea48ee61288fb2ac95e694acfa5cce8f8511ef379
parente12526e5d33fd42bceb52607da888b5ea27698d7 (diff)
downloaddrakx-377e714008c08a1b8439ae619624b1218627afd9.tar
drakx-377e714008c08a1b8439ae619624b1218627afd9.tar.gz
drakx-377e714008c08a1b8439ae619624b1218627afd9.tar.bz2
drakx-377e714008c08a1b8439ae619624b1218627afd9.tar.xz
drakx-377e714008c08a1b8439ae619624b1218627afd9.zip
display a nicer message when no removable medium is found (mga#14435)
-rw-r--r--perl-install/install/NEWS3
-rw-r--r--perl-install/install/commands.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e7f1c631f..5aa705ef7 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- bug:
+ o display a nicer message when no removable medium is found (mga#14435)
+
Version 16.57 - 11 February 2015
- fix taking screenshots on UEFI 24bit bpp framebuffer (mga#13684)
diff --git a/perl-install/install/commands.pm b/perl-install/install/commands.pm
index 9df55cbb7..79f49b980 100644
--- a/perl-install/install/commands.pm
+++ b/perl-install/install/commands.pm
@@ -402,6 +402,7 @@ sub bug {
require install::any;
my @devs = install::any::removable_media__early_in_install();
+ @devs or die "You need to plug a removable medium (USB key, floppy, ...)\n";
$part = $in->ask_from_listf('', "Which device?", \&partition_table::description,
\@devs) or return;