homeserver/friedhof/mgrote_motd/templates/90-updates-mgrote
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

5 lines
175 B
Bash

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