Files
server/usr/share/unattended-upgrades/update-motd-unattended-upgrades
2026-01-07 20:52:11 +01:00

12 lines
284 B
Bash
Executable File

#!/bin/sh
#
# helper for update-motd
if [ -f /var/lib/unattended-upgrades/kept-back ]; then
cat <<EOF
$(wc -w < /var/lib/unattended-upgrades/kept-back) updates could not be installed automatically. For more details,
see /var/log/unattended-upgrades/unattended-upgrades.log
EOF
fi