diff --git a/lib/debootstrap.sh b/lib/debootstrap.sh index 3334795278..fcb2e48de4 100644 --- a/lib/debootstrap.sh +++ b/lib/debootstrap.sh @@ -218,7 +218,7 @@ create_rootfs_cache() ${OUTPUT_DIALOG:+' | dialog --backtitle "$backtitle" --progressbox "Updating package lists..." $TTY_Y $TTY_X'} \ ${OUTPUT_VERYSILENT:+' >/dev/null 2>/dev/null'} - #[[ ${PIPESTATUS[0]} -ne 0 ]] && exit_with_error "Updating package lists failed" + [[ ${PIPESTATUS[0]} -ne 0 ]] && display_alert "Updating package lists" "failed" "wrn" # stage: upgrade base packages from xxx-updates and xxx-backports repository branches display_alert "Upgrading base packages" "Armbian" "info" @@ -228,7 +228,7 @@ create_rootfs_cache() ${OUTPUT_DIALOG:+' | dialog --backtitle "$backtitle" --progressbox "Upgrading base packages..." $TTY_Y $TTY_X'} \ ${OUTPUT_VERYSILENT:+' >/dev/null 2>/dev/null'} - #[[ ${PIPESTATUS[0]} -ne 0 ]] && exit_with_error "Upgrading base packages failed" + [[ ${PIPESTATUS[0]} -ne 0 ]] && display_alert "Upgrading base packages" "failed" "wrn" # stage: install additional packages display_alert "Installing packages for" "Armbian" "info"