replace Update with Updating

This commit is contained in:
Tobias Powalowski 2023-01-19 08:55:39 +01:00
parent 06340c5bb3
commit 68f70e41ee
2 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ _pacman_chroot() {
echo "Removing installation tarball ${3}..."
rm "${3}"{,.sig}
fi
echo "Update container to latest packages..."
echo "Updating container to latest packages..."
${_NSPAWN} "${1}" pacman -Syu --noconfirm &>/dev/null
}
@ -92,7 +92,7 @@ _prepare_pacman() {
mount shm "${1}/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev
echo "Remove archboot repository sync db..."
rm -f /var/lib/pacman/sync/archboot.db
echo "Update Arch Linux keyring..."
echo "Updating Arch Linux keyring..."
#shellcheck disable=SC2086
pacman -Sy --config ${_PACMAN_CONF} --noconfirm --noprogressbar ${_KEYRING} &>/dev/null
}

View file

@ -28,7 +28,7 @@ _update_pacman_chroot() {
echo "Removing installation tarball..."
rm "${_PACMAN_CHROOT}"{,.sig} &>/dev/null
# update container to latest packages
echo "Update container to latest packages..."
echo "Updating container to latest packages..."
# fix mirrorlist
[[ "${_ARCH}" == "riscv64" ]] && sed -i -e 's|^#Server = https://riscv|Server = https://riscv|g' "${_ARCH_DIR}"/etc/pacman.d/mirrorlist
${_NSPAWN} "${_ARCH_DIR}" pacman -Syu --noconfirm &>/dev/null || exit 1