From b3ff510e10f6496876fab329bda55f056faa2431 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 28 Jun 2021 09:27:10 +0200 Subject: [fix] pacman --noprogressbar in shell scripts From pacman's man page: --noprogressbar Do not show a progress bar when downloading files. This can be useful for scripts that call pacman and capture the output. Signed-off-by: Markus Heiser --- utils/lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/lib.sh') diff --git a/utils/lib.sh b/utils/lib.sh index 185012c5d..014d4a740 100755 --- a/utils/lib.sh +++ b/utils/lib.sh @@ -1557,7 +1557,7 @@ pkg_install() { ;; arch) # shellcheck disable=SC2068 - pacman -Sy --noconfirm $@ + pacman --noprogressbar -Sy --noconfirm $@ ;; fedora) # shellcheck disable=SC2068 @@ -1589,7 +1589,7 @@ pkg_remove() { ;; arch) # shellcheck disable=SC2068 - pacman -R --noconfirm $@ + pacman --noprogressbar -R --noconfirm $@ ;; fedora) # shellcheck disable=SC2068 -- cgit v1.2.3