More fixes to epel release symlink

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
Mohan Boddu 2021-12-09 19:05:00 -05:00
parent f2d96224d9
commit 943064c64a

View file

@ -477,7 +477,7 @@ def update_epel_release_latest(releases):
releases (dict): contains similar information of global variable RELEASES
"""
for release in releases:
if 'epel' in release:
if 'epel' in release and 'Modular' not in RELEASES[release]['repos']['epel']['to'][0]['dest']:
if 'next' in RELEASES[release]['repos']['epel']['to'][0]['dest']:
dest = '/pub/epel/epel-next-release-latest-' + release[4] + '.noarch.rpm'
# For next's epel release, use the subpackage rpm from epel repo instead of