Quick fix to yay -G error code #430

Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
Jguer 2018-05-28 13:31:33 +01:00
parent 3f15788c6a
commit 70e5f43171

View File

@ -181,6 +181,10 @@ func getPkgbuildsfromAUR(pkgs []string, dir string) (err error) {
return err
}
if (len(aq) != len(pkgs)) {
return fmt.Errorf("Could not find all required packages");
}
for _, pkg := range aq {
var err error
if shouldUseGit(filepath.Join(dir, pkg.PackageBase)) {