Fix the dir location in updates sync
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
parent
2e7473fdbd
commit
531cbaf6e9
1 changed files with 2 additions and 2 deletions
|
@ -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*'):
|
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 'Packages' in str(path) and 'x86_64' in str(path):
|
||||||
if "next" 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:
|
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)
|
pkg_relpath = os.path.relpath(path,EPELDEST)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue