fix linux-bcachefs-git

This commit is contained in:
bgme 2023-08-23 22:07:14 +08:00
parent 1dfc33584f
commit a611ba8e70
2 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
aur_pre_build()
for line in edit_file('PKGBUILD'):
if line.startswith('prepare() {'):
line = line + '\n git config --global user.email "lilac@noreply.bgme.me"\n git config --global user.name "Lilac"\n'
print(line)

View file

@ -7,8 +7,6 @@ repo_depends:
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on: