aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkitsunyan2018-03-13 19:29:53 +0000
committerkitsunyan2018-03-13 19:29:53 +0000
commiteedc8ca25aa95ffd152fe9fc3b4946e7ebe0d917 (patch)
tree7e0ee768d839f66e65e51d3e031992ba4aa5764e
parent635ad7f462419a48e199df698caf09225ca1a52d (diff)
Don't load AUR commits in "noconfirm" mode
-rw-r--r--src/feature/syncinstall.nim2
1 files changed, 1 insertions, 1 deletions
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)