浏览代码

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 年之前
父节点
当前提交
1597fb1cf0
共有 1 个文件被更改,包括 1 次插入0 次删除
  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()
 	}