mirror of
https://github.com/Jguer/yay
synced 2024-09-01 14:18:39 +00:00
Show versions when printing Packages to install
This commit is contained in:
parent
4a2ea00da0
commit
f0f20269a0
6
print.go
6
print.go
|
@ -132,16 +132,16 @@ func printDepCatagories(dc *depCatagories) {
|
|||
|
||||
for _, pkg := range dc.Repo {
|
||||
if dc.MakeOnly.get(pkg.Name()) {
|
||||
repoMake += " " + pkg.Name()
|
||||
repoMake += " " + pkg.Name() + "-" + pkg.Version()
|
||||
repoMakeLen++
|
||||
} else {
|
||||
repo += " " + pkg.Name()
|
||||
repo += " " + pkg.Name() + "-" + pkg.Version()
|
||||
repoLen++
|
||||
}
|
||||
}
|
||||
|
||||
for _, pkg := range dc.Aur {
|
||||
pkgStr := " " + pkg.PackageBase
|
||||
pkgStr := " " + pkg.PackageBase + "-" + pkg.Version
|
||||
pkgStrMake := pkgStr
|
||||
|
||||
push := false
|
||||
|
|
Loading…
Reference in a new issue