From eedc8ca25aa95ffd152fe9fc3b4946e7ebe0d917 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Tue, 13 Mar 2018 22:29:53 +0300 Subject: Don't load AUR commits in "noconfirm" mode --- src/feature/syncinstall.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/syncinstall.nim b/src/feature/syncinstall.nim index ee4b227..3e5496d 100644 --- a/src/feature/syncinstall.nim +++ b/src/feature/syncinstall.nim @@ -520,7 +520,7 @@ proc handleInstall(args: seq[Argument], config: Config, upgradeCount: int, let aur = pkgInfos[0].repo == "aur" - if not skipEdit and aur and config.aurComments: + if not skipEdit and aur and not noconfirm and config.aurComments: echo(tr"downloading comments from AUR...") let (comments, error) = downloadAurComments(base) for e in error: printError(config.color, e) -- cgit v1.2.3-70-g09d2