homeserver/roles/mgrote.motd/templates/90-updates-mgrote
2020-08-18 11:57:53 +02:00

5 lines
145 B
Bash

#!/bin/sh
stamp="/var/lib/update-notifier/updates-available"
([ ! -r "$stamp" ] || [ -n "$(awk '/^0/{print $1;}' "$stamp")" ]) || cat "$stamp"