[yum-commits] Branch 'yum-3_2_X' - yum/yumRepo.py
skvidal at osuosl.org
skvidal at osuosl.org
Mon Mar 23 15:23:04 UTC 2009
yum/yumRepo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ef50e2abb810be8ce441305879b695d778bafd32
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Mon Mar 23 11:20:19 2009 -0400
set copy_local=1 for yum repos to make sure file:/// pkgs aren't accidentally
unlinked. This means we'll be making a temp copy of file:// url pkgs to the cache
dir but it also keeps us from removing files incorrectly when using file:// urls mixed
with http:// or ftp:// urls. - this fixes https://bugzilla.redhat.com/show_bug.cgi?id=491523
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 24b3b04..e5774bb 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -253,7 +253,7 @@ class YumRepository(Repository, config.RepoConf):
# throw in some stubs for things that will be set by the config class
self.basecachedir = ""
self.cost = 1000
- self.copy_local = 0
+ self.copy_local = 1
# holder for stuff we've grabbed
self.retrieved = { 'primary':0, 'filelists':0, 'other':0, 'group':0,
'updateinfo':0}
More information about the Yum-commits
mailing list