Add --noconfirm flag to update_keyring() (#922)

This commit is contained in:
Timothy Pidashev 2022-01-30 08:28:59 -08:00 committed by GitHub
parent 281ccf99a4
commit 64bde666ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def check_mirror_reachable() -> bool:
def update_keyring() -> bool:
log("Updating archlinux-keyring ...", level=logging.INFO)
if SysCommand("pacman -Sy archlinux-keyring").exit_code == 0:
if SysCommand("pacman -Sy --noconfirm archlinux-keyring").exit_code == 0:
return True
elif os.geteuid() != 0: