abort on pacman error

This commit is contained in:
Tobias Powalowski 2024-07-08 07:18:14 +02:00
parent 3e12be6eb7
commit f521caabc4

View file

@ -71,7 +71,7 @@ _install_packages() {
_PACKAGES="${_PACKAGES// / }"
_dialog --title " Summary " --yesno "Next step will install the following packages for a minimal system:\n${_PACKAGES}\n\nYou can watch the progress on your ${_VC} console." 9 75 || return 1
_run_pacman | _dialog --title " Logging to ${_VC} | ${_LOG} " --gauge "Installing package(s):\n${_PACKAGES}..." 8 75 0
_pacman_error
_pacman_error || return 1
_NEXTITEM=3
_chroot_mount
# automagic time!