Remove newline at the beginning of the apt.conf
This commit is contained in:
parent
70efca4e91
commit
11dbf8ad02
@ -198,7 +198,7 @@ Dir::Etc::SourceList "{apt_dir}/sources.list.{branch}.{arch}";
|
|||||||
Dir::Etc::SourceParts "/var/empty";
|
Dir::Etc::SourceParts "/var/empty";
|
||||||
Dir::Etc::preferences "/dev/null";
|
Dir::Etc::preferences "/dev/null";
|
||||||
Dir::Etc::preferencesparts "/var/empty";
|
Dir::Etc::preferencesparts "/var/empty";
|
||||||
'''
|
'''.lstrip()
|
||||||
f.write(apt_conf)
|
f.write(apt_conf)
|
||||||
|
|
||||||
with open(f'{apt_dir}/sources.list.{branch}.{arch}', 'w') as f:
|
with open(f'{apt_dir}/sources.list.{branch}.{arch}', 'w') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user