Add --noconfirm flag to update_keyring() (#922)
This commit is contained in:
parent
281ccf99a4
commit
64bde666ac
|
|
@ -42,7 +42,7 @@ def check_mirror_reachable() -> bool:
|
||||||
|
|
||||||
def update_keyring() -> bool:
|
def update_keyring() -> bool:
|
||||||
log("Updating archlinux-keyring ...", level=logging.INFO)
|
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
|
return True
|
||||||
|
|
||||||
elif os.geteuid() != 0:
|
elif os.geteuid() != 0:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue