mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
git-update: Drop writing git description file
All PKGBUILDs are stored in a single repository now, so there is no use for writing out a description file for the repo anymore. This fixes a bug where pkgdescs containing UTF-8 characters are rejected due to it trying to write the file out using ASCII. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
cb00a66855
commit
fcbfaf6a37
1 changed files with 0 additions and 6 deletions
|
@ -281,9 +281,3 @@ for pkgname in srcinfo.GetPackageNames():
|
||||||
save_srcinfo(srcinfo, db, cur, user)
|
save_srcinfo(srcinfo, db, cur, user)
|
||||||
|
|
||||||
db.close()
|
db.close()
|
||||||
|
|
||||||
pkglist = list(srcinfo.GetPackageNames())
|
|
||||||
if len(pkglist) > 0:
|
|
||||||
with open(repo_path + '/description', 'w') as f:
|
|
||||||
pkginfo = srcinfo.GetMergedPackage(pkglist[0])
|
|
||||||
f.write(pkginfo['pkgdesc'])
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue