[fix][arch] error when no custom makepkg.conf is created

This commit is contained in:
Vinícius Moreira
2020-04-14 10:01:39 -03:00
parent ad9abe93c8
commit e9b26ffc08

View File

@@ -245,7 +245,7 @@ class ArchCompilationOptimizer(Thread):
self._update_progress(80) self._update_progress(80)
if optimizations: if custom_makepkg and optimizations:
generated_by = '# <generated by bauh>\n' generated_by = '# <generated by bauh>\n'
custom_makepkg = custom_makepkg + '\n' + generated_by + '\n'.join(optimizations) + '\n' custom_makepkg = custom_makepkg + '\n' + generated_by + '\n'.join(optimizations) + '\n'