aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-21 16:17:49 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-21 16:17:49 +0000
commit9a25e863d65d0a8b11d9f3002a9ae5b114e1d3a2 (patch)
treec4714ad341eadded230e096233564f277c8ab3cc /edit-urpm-sources.pl
parent822aaf5dc31ddcf1ad68f34087ea27f767c85c9e (diff)
downloadrpmdrake-9a25e863d65d0a8b11d9f3002a9ae5b114e1d3a2.tar
rpmdrake-9a25e863d65d0a8b11d9f3002a9ae5b114e1d3a2.tar.gz
rpmdrake-9a25e863d65d0a8b11d9f3002a9ae5b114e1d3a2.tar.bz2
rpmdrake-9a25e863d65d0a8b11d9f3002a9ae5b114e1d3a2.tar.xz
rpmdrake-9a25e863d65d0a8b11d9f3002a9ae5b114e1d3a2.zip
add download progress when updating distant sources (still needs
improvement in messages, work in progress with urpmi)
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 25807245..192ee7ed 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -37,7 +37,7 @@ sub add_medium_and_check {
standalone::explanations("Adding medium @_");
my $wait = wait_msg($msg);
$urpm->add_medium(@_);
- $urpm->update_media(%$options, noclean => 1);
+ update_sources($urpm, %$options, noclean => 1);
remove_wait_msg($wait);
my ($medium) = grep { $_->{name} eq $_[0] } @{$urpm->{media}};
$medium or interactive_msg('rpmdrake', N("Unable to create medium."));
@@ -210,7 +210,7 @@ sub edit_callback {
}
sub update_callback {
- update_sources($urpm, transient => $mainw->{rwindow});
+ update_sources_interactive($urpm, transient => $mainw->{rwindow});
}
sub proxy_callback {