diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index 6d629e8c3b..fedd2f315f 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -415,7 +415,7 @@ def update_epel_release_latest(releases): if 'Packages' in str(path) and 'x86_64' in str(path): dest = '/pub/epel/epel-release-latest-' + release[4]+ '.noarch.rpm' if os.path.exists(dest): - if not os.path.exists(os.readlink(dest)): + if not os.path.exists(os.path.join(EPELDEST,os.readlink(dest))): os.remove(dest) os.symlink(os.path.relpath(path, os.path.dirname(dest)), dest) break