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>
|
* Fri Mar 14 2008 Jesse Keating <jkeating@redhat.com>
|
||||||
- Don't pass --prodpath to buildinstall. It won't like it.
|
- Don't pass --prodpath to buildinstall. It won't like it.
|
||||||
- Fix source iso making
|
- Fix source iso making
|
||||||
|
@ -332,6 +332,10 @@ class Gather(pypungi.PungiBase):
|
|||||||
relpkgdir)
|
relpkgdir)
|
||||||
|
|
||||||
# Ensure the pkgdir exists, force if requested, and make sure we clean it out
|
# Ensure the pkgdir exists, force if requested, and make sure we clean it out
|
||||||
|
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)
|
pypungi._ensuredir(pkgdir, self.logger, force=self.config.getboolean('default', 'force'), clean=True)
|
||||||
|
|
||||||
probs = self.ayum.downloadPkgs(polist)
|
probs = self.ayum.downloadPkgs(polist)
|
||||||
|
Loading…
Reference in New Issue
Block a user