mirror of https://github.com/searxng/searxng.git
[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>
This commit is contained in:
parent
73fc6499d8
commit
b3ff510e10
|
@ -1557,7 +1557,7 @@ pkg_install() {
|
||||||
;;
|
;;
|
||||||
arch)
|
arch)
|
||||||
# shellcheck disable=SC2068
|
# shellcheck disable=SC2068
|
||||||
pacman -Sy --noconfirm $@
|
pacman --noprogressbar -Sy --noconfirm $@
|
||||||
;;
|
;;
|
||||||
fedora)
|
fedora)
|
||||||
# shellcheck disable=SC2068
|
# shellcheck disable=SC2068
|
||||||
|
@ -1589,7 +1589,7 @@ pkg_remove() {
|
||||||
;;
|
;;
|
||||||
arch)
|
arch)
|
||||||
# shellcheck disable=SC2068
|
# shellcheck disable=SC2068
|
||||||
pacman -R --noconfirm $@
|
pacman --noprogressbar -R --noconfirm $@
|
||||||
;;
|
;;
|
||||||
fedora)
|
fedora)
|
||||||
# shellcheck disable=SC2068
|
# shellcheck disable=SC2068
|
||||||
|
|
|
@ -45,8 +45,8 @@ ubu2010_boilerplate="$ubu1904_boilerplate"
|
||||||
|
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
archlinux_boilerplate="
|
archlinux_boilerplate="
|
||||||
pacman -Syu --noconfirm
|
pacman --noprogressbar -Syu --noconfirm
|
||||||
pacman -S --noconfirm inetutils git curl wget sudo
|
pacman --noprogressbar -S --noconfirm inetutils git curl wget sudo
|
||||||
echo 'Set disable_coredump false' >> /etc/sudo.conf
|
echo 'Set disable_coredump false' >> /etc/sudo.conf
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue