summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 3a1f6ed1..acbd852a 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -127,9 +127,8 @@ if ($options{distrib}) {
my ($medianame, $add_by_default) = @_;
my $yesexpr = N("Yy");
$add_by_default = 1 if $options{allmedia};
- my $answer = message_input(
+ my $answer = message_input_(
N("\nDo you want to add media '%s'", $medianame) . ($add_by_default ? N(" (Y/n) ") : N(" (y/N) ")),
- undef,
boolean => 1,
);
return $answer ? $answer =~ /[$yesexpr]/ : $add_by_default;