aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 29bc3184..fec3b165 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -109,7 +109,7 @@ sub add_callback {
$info->{name_entry}->select_region(0, -1);
interactive_msg('rpmdrake',
_("There is already a medium by that name, do you
-really want to replace it?"), 1) or return 0;
+really want to replace it?"), { yesno => 1 } ) or return 0;
}
1;
};
@@ -244,7 +244,7 @@ _("Welcome to the packages source editor!
This tool will help you configure the packages sources you wish to use on
your computer. They will then be available to install new software package
-or to perform updates.")), 1) or myexit -1;
+or to perform updates.")), { yesno => 1 }) or myexit -1;
push @$already_splashed, basename($0);
}