Fix line breaks in sources list
This commit is contained in:
parent
d7b911b1f5
commit
656d832e16
@ -165,9 +165,9 @@ Dir::Etc::preferencesparts "/var/empty";
|
||||
f.write(apt_conf)
|
||||
|
||||
with open(f'{apt_dir}/sources.list.{branch}.{arch}', 'w') as f:
|
||||
sources_list = f'rpm {repo} {arch} classic'
|
||||
sources_list = f'rpm {repo} {arch} classic\n'
|
||||
if arch not in self.bad_arches:
|
||||
sources_list += f'\nrpm {repo} noarch classic'
|
||||
sources_list += f'rpm {repo} noarch classic\n'
|
||||
f.write(sources_list)
|
||||
|
||||
def escape_branch(self, branch: str) -> str:
|
||||
|
Loading…
Reference in New Issue
Block a user