mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[fix][arch] error when no custom makepkg.conf is created
This commit is contained in:
@@ -245,7 +245,7 @@ class ArchCompilationOptimizer(Thread):
|
||||
|
||||
self._update_progress(80)
|
||||
|
||||
if optimizations:
|
||||
if custom_makepkg and optimizations:
|
||||
generated_by = '# <generated by bauh>\n'
|
||||
custom_makepkg = custom_makepkg + '\n' + generated_by + '\n'.join(optimizations) + '\n'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user