mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Fix the dir location in updates sync
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
@@ -453,9 +453,9 @@ def update_epel_release_latest(releases):
|
||||
for path in Path(RELEASES[release]['repos']['epel']['to'][0]['dest']).rglob('epel-*release*noarch*'):
|
||||
if 'Packages' in str(path) and 'x86_64' in str(path):
|
||||
if "next" in str(path):
|
||||
dest = 'pub/epel/epel-next-release-latest-' + release[4] + '.noarch.rpm'
|
||||
dest = '/pub/epel/epel-next-release-latest-' + release[4] + '.noarch.rpm'
|
||||
else:
|
||||
dest = 'pub/epel/epel-release-latest-' + release[4] + '.noarch.rpm'
|
||||
dest = '/pub/epel/epel-release-latest-' + release[4] + '.noarch.rpm'
|
||||
|
||||
pkg_relpath = os.path.relpath(path,EPELDEST)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user