diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-28 09:27:10 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-07-03 18:24:55 +0200 |
commit | b3ff510e10f6496876fab329bda55f056faa2431 (patch) | |
tree | ba78fbb0655382253f60f68b3fdf2363405ba340 /utils/lib.sh | |
parent | 73fc6499d8416fc262c5d28688b91bf4580ab2b8 (diff) | |
download | searxng-b3ff510e10f6496876fab329bda55f056faa2431.tar.gz searxng-b3ff510e10f6496876fab329bda55f056faa2431.zip |
[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 <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib.sh')
-rwxr-xr-x | utils/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |