I agree with Aaron and Daniel. I have a custom MOTD generation script that uses the output of updater-notifier `head -qn 2 /var/lib/update-notifier/updates-available`. Not having any text in that file if there are no updates available breaks the layout of the MOTD output.
Regardless of my custom setup, having the blank lines in the default MOTD generated by `/etc/motd.d/90-updates-available` does make me think something is broken. It's nice to have the validation of "0 packages can be updated", IMO.
I agree with Aaron and Daniel. I have a custom MOTD generation script that uses the output of updater-notifier `head -qn 2 /var/lib/ update- notifier/ updates- available` . Not having any text in that file if there are no updates available breaks the layout of the MOTD output.
Regardless of my custom setup, having the blank lines in the default MOTD generated by `/etc/motd. d/90-updates- available` does make me think something is broken. It's nice to have the validation of "0 packages can be updated", IMO.