summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmi.update b/urpmi.update
index 5a5abc7f..9e7d2515 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -22,6 +22,7 @@ use strict;
use urpm;
use urpm::args 'options';
use urpm::msg;
+use urpm::download ();
sub usage {
warn N("usage: urpmi.update [options] <name> ...
@@ -74,7 +75,7 @@ sub main {
$something_todo or die N("the entry to update is missing\n(one of %s)\n", join(", ", @entries));
}
- $urpm->update_media(%options, callback => \&urpm::sync_logger);
+ $urpm->update_media(%options, callback => \&urpm::download::sync_logger);
#- try to umount removable device which may have been mounted.
$urpm->try_umounting_removables;