Prepended `env DEBIAN_FRONTEND=noninteractive` to the call to apt-get upgrade. This fixes an issue where some packages seem to ignore the presence of the -y flag or noninteractive stdin/stdout and display an ncurses-based frontend anyway *cough* Unifi *cough*. This would cause the update script to hang indefinitely and dpkg to sit there in the background waiting for input. This would break things on subsequent update runs when scheduled by a cron job, requiring manual intervention.
Prepended `env DEBIAN_FRONTEND=noninteractive` to the call to apt-get upgrade. This fixes an issue where some packages seem to ignore the presence of the -y flag or noninteractive stdin/stdout and display an ncurses-based frontend anyway *cough* Unifi *cough*. This would cause the update script to hang indefinitely and dpkg to sit there in the background waiting for input. This would break things on subsequent update runs when scheduled by a cron job, requiring manual intervention.

Updated the formatting and colour scheme of headings/errors/successes to be more readable on terminals using anything other than the Monokai colour scheme.

dylanh333/home-sysadmin-scripts