undo config name

This commit is contained in:
Louis Abel 2022-07-06 23:41:28 -07:00
parent 22184f30a4
commit e9e37384ae
Signed by: label
GPG Key ID: B37E62D143879B36
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
set -o pipefail
{{ import_gpg_cmd }} | tee -a {{ sync_log }}
{{ dnf_plugin_cmd }} | tee -a {{ sync_log }}
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/*.repo
{{ sync_cmd }} | tee -a {{ sync_log }}
# {{ check_cmd }} | tee -a {{ sync_log }}

View File

@ -661,7 +661,7 @@ class RepoSync:
"""
fname = os.path.join(
dest_path,
"{}-{}-config.repo".format(self.shortname, self.major_version)
"{}-config.repo".format(self.major_version)
)
self.log.info('Generating the repo configuration: %s' % fname)