How does this affect stuff like the different humble bundle games in the aur?
You have to download the source and put it in the source directory so I don't think it will be in the commit tree? Thanks Sent from my iPhone > On May 31, 2015, at 12:54 PM, Lukas Fleischer <[email protected]> > wrote: > > Suggested-by: Marcel Korpel <[email protected]> > Signed-off-by: Lukas Fleischer <[email protected]> > --- > scripts/git-integration/git-update.py | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/scripts/git-integration/git-update.py > b/scripts/git-integration/git-update.py > index 161d42f..0fa1ce2 100755 > --- a/scripts/git-integration/git-update.py > +++ b/scripts/git-integration/git-update.py > @@ -235,6 +235,16 @@ for commit in walker: > die_commit('%s field too long: %s' % (field, pkginfo[field]), > commit.id) > > + if 'install' in pkginfo and not pkginfo['install'] in commit.tree: > + die_commit('missing install file: %s' % (pkginfo['install']), > + commit.id) > + > + for fname in pkginfo['source']: > + if "://" in fname or "lp:" in fname: > + continue > + if not fname in commit.tree: > + die_commit('missing source file: %s' % (fname), commit.id) > + > srcinfo_raw = repo[repo[sha1_new].tree['.SRCINFO'].id].data.decode() > srcinfo_raw = srcinfo_raw.split('\n') > srcinfo = aurinfo.ParseAurinfoFromIterable(srcinfo_raw) > -- > 2.4.1
