diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-21 16:22:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-21 16:22:38 +0000 |
commit | e1b77dc67dc7c350c5d3e6acd451785a9c78f340 (patch) | |
tree | 017302f0d6301141e1fd3771ba072a695ba2b011 /urpm/get_pkgs.pm | |
parent | 01508b09ee68c55499c1b1a5ea658bb03204b96c (diff) | |
download | urpmi-e1b77dc67dc7c350c5d3e6acd451785a9c78f340.tar urpmi-e1b77dc67dc7c350c5d3e6acd451785a9c78f340.tar.gz urpmi-e1b77dc67dc7c350c5d3e6acd451785a9c78f340.tar.bz2 urpmi-e1b77dc67dc7c350c5d3e6acd451785a9c78f340.tar.xz urpmi-e1b77dc67dc7c350c5d3e6acd451785a9c78f340.zip |
- urpmi, gurpmi
o allow "retry" on aria2 download failure
Diffstat (limited to 'urpm/get_pkgs.pm')
-rw-r--r-- | urpm/get_pkgs.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm index e5a9b5b8..9fb81b83 100644 --- a/urpm/get_pkgs.pm +++ b/urpm/get_pkgs.pm @@ -214,7 +214,9 @@ sub _download_packages_of_distant_media { if (urpm::download::sync_rel($urpm, $blist->{medium}, [ urpm::blist_to_filenames($blist) ], dir => "$cachedir/partial", quiet => $options{quiet}, is_versioned => 1, - resume => $urpm->{options}{resume}, callback => $options{callback})) { + resume => $urpm->{options}{resume}, + ask_retry => $options{ask_retry}, + callback => $options{callback})) { $urpm->{log}(N("...retrieving done")); } else { $urpm->{error}(N("...retrieving failed: %s", $@)); |