summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-07 16:02:54 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-07 16:02:54 +0000
commitf160b887ff0d471dc23594ef3abb4938b7659230 (patch)
treef7c29f18ff97588e94371432a20086422da358bf /urpm.pm
parent334bc630fd348914458b31ce3f6f19e63b232e61 (diff)
downloadurpmi-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.pm10
1 files changed, 3 insertions, 7 deletions
diff --git a/urpm.pm b/urpm.pm
index 49878631..0048b9a6 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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.