aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 7aa45f55..b9243814 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -176,6 +176,12 @@ really want to replace it?"), yesno => 1) or return 0;
sub remove_callback {
my $row = selrow();
$row == -1 and return;
+ interactive_msg(
+ N("Source Removal"),
+ N("Are you sure you want to remove source \"%s\"?", to_utf8($urpm->{media}[$row]{name})),
+ yesno => 1,
+ ) or return;
+
my $wait = wait_msg(N("Please wait, removing medium..."));
my $name = $urpm->{media}[$row]{name};
standalone::explanations("Removing medium $name");