homeserver/friedhof/mgrote_motd/templates/90-updates-mgrote

6 lines
175 B
Text
Raw Normal View History

2020-08-18 11:57:53 +02:00
#!/bin/sh
{{ file_header | default () }}
2020-08-18 11:57:53 +02:00
stamp="/var/lib/update-notifier/updates-available"
([ ! -r "$stamp" ] || [ -n "$(awk '/^0/{print $1;}' "$stamp")" ]) || cat "$stamp"