Adjust packages uninstall display, defaulting to logs and only showing which packages are removed

This commit is contained in:
Igor Pecovnik 2021-01-03 14:19:17 +01:00
parent 2f72461479
commit 12c38ade32

View file

@ -280,10 +280,10 @@ create_rootfs_cache()
# Remove packages from packages.uninstall
display_alert "Removing packages.uninstall packages for" "Armbian" "info"
eval 'LC_ALL=C LANG=C chroot $SDCARD /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get -y -q \
display_alert "Uninstall packages" "$PACKAGE_LIST_UNINSTALL" "info"
eval 'LC_ALL=C LANG=C chroot $SDCARD /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get -y -qq \
$apt_extra $apt_extra_progress purge $PACKAGE_LIST_UNINSTALL"' \
${PROGRESS_LOG_TO_FILE:+' | tee -a $DEST/debug/debootstrap.log'} \
${PROGRESS_LOG_TO_FILE:+' >> $DEST/debug/debootstrap.log'} \
${OUTPUT_DIALOG:+' | dialog --backtitle "$backtitle" --progressbox "Removing packages.uninstall packages..." $TTY_Y $TTY_X'} \
${OUTPUT_VERYSILENT:+' >/dev/null 2>/dev/null'}