mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add noconfirm
This commit is contained in:
parent
8b61388824
commit
9325d54810
1 changed files with 3 additions and 2 deletions
|
@ -258,11 +258,11 @@ _prepare_xfce() {
|
|||
echo "Running pacman to install packages: ${_FULL_PACKAGES} ${_X_PACKAGES} ..."
|
||||
_INSTALL_SOURCE="file:///var/cache/pacman/pkg"
|
||||
_create_pacman_conf
|
||||
pacman -Sy --config ${_PACMAN_CONF} >/dev/null 2>&1 || exit 1
|
||||
# workaround unsolvable zstd bug,
|
||||
# booting with higher memory results in not having /var/lib/pacman/local/zstd-*
|
||||
pacman -Sy zstd --config ${_PACMAN_CONF} --overwrite '*' >/dev/null 2>&1 || exit 1
|
||||
#shellcheck disable=SC2086
|
||||
pacman -Sy --config ${_PACMAN_CONF} >/dev/null 2>&1 || exit 1
|
||||
pacman -S zstd --config ${_PACMAN_CONF} --noconfirm --overwrite '*' >/dev/null 2>&1 || exit 1
|
||||
for i in ${_XORG}; do
|
||||
#shellcheck disable=SC2086
|
||||
pacman -S ${i} --config ${_PACMAN_CONF} --noconfirm >/dev/null 2>&1 || exit 1
|
||||
|
@ -278,6 +278,7 @@ _prepare_xfce() {
|
|||
fi
|
||||
# workaround unsolvable zstd bug,
|
||||
# booting with higher memory results in not having /var/lib/pacman/local/zstd-*
|
||||
#shellcheck disable=SC2086
|
||||
pacman -Sy zstd --noconfirm --overwrite '*' >/dev/null 2>&1 || exit 1
|
||||
#shellcheck disable=SC2086
|
||||
pacman -Syu ${_IGNORE} --noconfirm >/dev/null 2>&1 || exit 1
|
||||
|
|
Loading…
Reference in a new issue