diff options
author | Francois Pons <fpons@mandriva.com> | 2001-03-07 16:02:54 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-03-07 16:02:54 +0000 |
commit | f160b887ff0d471dc23594ef3abb4938b7659230 (patch) | |
tree | f7c29f18ff97588e94371432a20086422da358bf /urpm.pm | |
parent | 334bc630fd348914458b31ce3f6f19e63b232e61 (diff) | |
download | urpmi-f160b887ff0d471dc23594ef3abb4938b7659230.tar urpmi-f160b887ff0d471dc23594ef3abb4938b7659230.tar.gz urpmi-f160b887ff0d471dc23594ef3abb4938b7659230.tar.bz2 urpmi-f160b887ff0d471dc23594ef3abb4938b7659230.tar.xz urpmi-f160b887ff0d471dc23594ef3abb4938b7659230.zip |
*** empty log message ***
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1328,13 +1328,9 @@ sub upload_source_packages { } } } - if (@distant_sources) { - local *F; - open F, "| wget -NP $urpm->{cachedir}/rpms -i -"; - foreach (@distant_sources) { - print F "$_\n"; - } - close F or $urpm->{error}("cannot get distant rpms files (maybe wget is missing?)"); + foreach (@distant_sources) { + $urpm->{log}("retrieving [$_]"); + system "wget", "-NP", "$urpm->{cachedir}/rpms", $_; } #- return the list of rpm file that have to be installed, they are all local now. |