From 1597fb1cf054f39ad02b094195118a8d2c84e719 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Sat, 3 Mar 2018 04:14:35 +0000 Subject: [PATCH] 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. --- install.go | 1 + 1 file changed, 1 insertion(+) diff --git a/install.go b/install.go index 930e4cd3..775ed773 100644 --- a/install.go +++ b/install.go @@ -116,6 +116,7 @@ func install(parser *arguments) error { if hasAur { printDepCatagories(dc) + hasAur = len(dc.Aur) != 0 fmt.Println() }