Fix a bug with file:// repos.
This commit is contained in:
parent
e7779582c3
commit
0d888052c4
@ -1,6 +1,7 @@
|
||||
* Tue Sep 11 2007 Jesse Keating <jkeating@redhat.com>
|
||||
- Fix a bug with default dest dir (notting)
|
||||
- Include a man page (dcantrell)
|
||||
- Fix a bug with file:// based repos
|
||||
|
||||
* Thu Aug 30 2007 Jesse Keating <jkeating@redhat.com>
|
||||
- Fix some bugs with source iso creation
|
||||
|
@ -343,7 +343,7 @@ class Gather(pypungi.PungiBase):
|
||||
# do a little dance for file:// repos...
|
||||
path = repo.getPackage(pkg)
|
||||
if not os.path.exists(local) or not os.path.samefile(path, local):
|
||||
shutil.copy2(local, path)
|
||||
shutil.copy2(path, local)
|
||||
|
||||
try:
|
||||
os.link(local, os.path.join(pkgdir, os.path.basename(remote)))
|
||||
|
Loading…
Reference in New Issue
Block a user