diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index 555c52dd57..ae977b17bb 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -217,7 +217,7 @@ def sync_single_repo_arch(release, repo, arch, dest_path): results.append(rsync(os.path.join(source_path, maindir, 'Packages'), os.path.join(dest_path))) - if do_rpms: + if do_drpms: results.append(rsync(os.path.join(source_path, maindir, 'drpms'), os.path.join(dest_path))) if arch != 'source': @@ -235,7 +235,7 @@ def sync_single_repo_arch(release, repo, arch, dest_path): results.append(rsync(os.path.join(source_path, maindir, 'Packages'), os.path.join(dest_path), delete=True)) - if do_rpms: + if do_drpms: results.append(rsync(os.path.join(source_path, maindir, 'drpms'), os.path.join(dest_path), delete=True))