Quick fix to yay -G error code #430
Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
1 parent
3f15788c6a
commit
70e5f43171
1 file changed
+4
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user