summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-07-09 10:35:53 +0000
committerDaouda Lo <daouda@mandriva.com>2002-07-09 10:35:53 +0000
commit1f14d0dd3ee0025c375cfa185650258111b1fe7a (patch)
tree06d8ad3a8c2cc81d57beb3a42d3e9800b9000d70 /mdkupdate
parent6b188f8615ffcf593ca587717dfce07e3e8a74a1 (diff)
downloadmgaonline-1f14d0dd3ee0025c375cfa185650258111b1fe7a.tar
mgaonline-1f14d0dd3ee0025c375cfa185650258111b1fe7a.tar.gz
mgaonline-1f14d0dd3ee0025c375cfa185650258111b1fe7a.tar.bz2
mgaonline-1f14d0dd3ee0025c375cfa185650258111b1fe7a.tar.xz
mgaonline-1f14d0dd3ee0025c375cfa185650258111b1fe7a.zip
- nc prevent multiples download
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 1b98e72f..a423228b 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -120,7 +120,7 @@ sub update_packages {
print "@str\n";
foreach (@str) {
-x "/usr/bin/wget" or die _("wget is missing\n");
- `/usr/bin/wget -r $mir$_`;
+ `/usr/bin/wget -nc $mir$_`;
}
`urpmi $full_rpm`;
foreach $pack (@str) {