mirror of
https://github.com/Jguer/yay
synced 2024-10-31 13:42:27 +00:00
Bump pkgver before parsing .SRCINFO
This commit is contained in:
parent
83491069d3
commit
8c3c125900
1 changed files with 11 additions and 11 deletions
20
install.go
20
install.go
|
@ -110,15 +110,6 @@ func install(parser *arguments) error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = parseSRCINFOs(dc.AurMake)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = parseSRCINFOs(dc.Aur)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if _, ok := arguments.options["gendb"]; ok {
|
||||
fmt.Println("GenDB finished. No packages were installed")
|
||||
return nil
|
||||
|
@ -137,6 +128,15 @@ func install(parser *arguments) error {
|
|||
return err
|
||||
}
|
||||
|
||||
err = parseSRCINFOs(dc.AurMake)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = parseSRCINFOs(dc.Aur)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
err = buildInstallPkgBuilds(dc.AurMake, parser.targets)
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -323,7 +323,7 @@ func dowloadPkgBuilds(pkgs []*rpc.Pkg) (err error) {
|
|||
func downloadPkgBuildsSources(pkgs []*rpc.Pkg) (err error) {
|
||||
for _, pkg := range pkgs {
|
||||
dir := config.BuildDir + pkg.PackageBase + "/"
|
||||
err = passToMakepkg(dir, "-f", "--verifysource")
|
||||
err = passToMakepkg(dir, "--nobuild", "--nocheck", "--noprepare", "--nodeps")
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue