Create repo without --deltas if no old package dir is set
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
21dd22ba11
commit
bcac8d49b6
1 changed files with 1 additions and 1 deletions
|
|
@ -4986,7 +4986,7 @@ class CreaterepoTask(BaseTaskHandler):
|
|||
cmd.append('--update')
|
||||
if self.options.createrepo_skip_stat:
|
||||
cmd.append('--skip-stat')
|
||||
if oldpkgs is not None:
|
||||
if oldpkgs:
|
||||
# generate delta-rpms
|
||||
cmd.append('--deltas')
|
||||
for op_dir in oldpkgs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue