Pārlūkot izejas kodu

Fix Yay showing AUR prompts when it shouldnt

In a very specific case where the user runs `yay -Syu` then uses the
number menu to ignore all AUR upgrades after the Repo install the user
will still be prompted to install and download packages.
morganamilo 7 gadi atpakaļ
vecāks
revīzija
1597fb1cf0
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      install.go

+ 1 - 0
install.go

@@ -116,6 +116,7 @@ func install(parser *arguments) error {
 
 	if hasAur {
 		printDepCatagories(dc)
+		hasAur = len(dc.Aur) != 0
 		fmt.Println()
 	}