summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-07-09 10:33:59 +0000
committerDaouda Lo <daouda@mandriva.com>2002-07-09 10:33:59 +0000
commit6b188f8615ffcf593ca587717dfce07e3e8a74a1 (patch)
tree8837191a498628980ec2b77469d85efda8091dee
parentef4bb77fdd831d3f37639826f0304f06c73ac679 (diff)
downloadmgaonline-6b188f8615ffcf593ca587717dfce07e3e8a74a1.tar
mgaonline-6b188f8615ffcf593ca587717dfce07e3e8a74a1.tar.gz
mgaonline-6b188f8615ffcf593ca587717dfce07e3e8a74a1.tar.bz2
mgaonline-6b188f8615ffcf593ca587717dfce07e3e8a74a1.tar.xz
mgaonline-6b188f8615ffcf593ca587717dfce07e3e8a74a1.zip
- add -r to wget to prevent multiples copies of same file.
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index f2eff520..1b98e72f 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 $mir$_`;
+ `/usr/bin/wget -r $mir$_`;
}
`urpmi $full_rpm`;
foreach $pack (@str) {