Remove newline at the beginning of the apt.conf

This commit is contained in:
Mikhail Gordeev 2020-04-15 20:02:54 +03:00
parent 70efca4e91
commit 11dbf8ad02

View File

@ -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: