simplify package installation message

This commit is contained in:
Tobias Powalowski 2022-03-22 13:50:21 +01:00
parent 3a5f547698
commit 2ec4a215c6

View file

@ -164,10 +164,8 @@ install_packages() {
PACKAGES=$(grep '^_PACKAGES' /etc/archboot/defaults | sed -e 's#_PACKAGES=##g' -e 's#"##g') PACKAGES=$(grep '^_PACKAGES' /etc/archboot/defaults | sed -e 's#_PACKAGES=##g' -e 's#"##g')
# fallback if _PACKAGES is empty # fallback if _PACKAGES is empty
[[ -z "${PACKAGES}" ]] && PACKAGES="base linux linux-firmware" [[ -z "${PACKAGES}" ]] && PACKAGES="base linux linux-firmware"
DIALOG --yesno "Next step will install ${PACKAGES}, netctl and filesystem tools for a minimal system.\n\nDo you wish to continue?" 10 50 || return 1 DIALOG --yesno "Next step will install ${PACKAGES}, netctl and filesystem tools for a minimal system.\nYou can watch the output in the progress window. Please be patient.\n\nDo you wish to continue?" 10 50 || return 1
auto_packages auto_packages
DIALOG --infobox "Package installation will begin in 3 seconds. You can watch the output in the progress window. Please be patient." 0 0
sleep 3
run_pacman run_pacman
NEXTITEM="6" NEXTITEM="6"
chroot_mount chroot_mount