handle shared source dirs when gathering.
This commit is contained in:
parent
ed5d17207f
commit
51f5969e49
@ -1,3 +1,6 @@
|
||||
* Fri Mar 21 2008 Jesse Keating <jkeating@redhat.com>
|
||||
- Handle shared source directory better.
|
||||
|
||||
* Fri Mar 14 2008 Jesse Keating <jkeating@redhat.com>
|
||||
- Don't pass --prodpath to buildinstall. It won't like it.
|
||||
- Fix source iso making
|
||||
|
@ -332,7 +332,11 @@ class Gather(pypungi.PungiBase):
|
||||
relpkgdir)
|
||||
|
||||
# Ensure the pkgdir exists, force if requested, and make sure we clean it out
|
||||
pypungi._ensuredir(pkgdir, self.logger, force=self.config.getboolean('default', 'force'), clean=True)
|
||||
if relpkgdir.endswith('SRPMS'):
|
||||
# Since we share source dirs with other arches don't clean, but do allow us to use it
|
||||
pypungi._ensuredir(pkgdir, self.logger, force=True, clean=False)
|
||||
else:
|
||||
pypungi._ensuredir(pkgdir, self.logger, force=self.config.getboolean('default', 'force'), clean=True)
|
||||
|
||||
probs = self.ayum.downloadPkgs(polist)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user