#!/bin/sh
#
# /etc/cron.daily/upgrade-system
#
# COPYRIGHT © 2004-2014 Martin-Éric Racine <martin-eric.racine@iki.fi>
#
# LICENSE
# GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
#
test -x /usr/sbin/upgrade-system || exit 0
LANGUAGE=C
LC_ALL=C
export LANGUAGE LC_ALL
apt-get --quiet --quiet update
apt-get --quiet --quiet autoclean
# mawk:awk (main/required).
apt-get --simulate --verbose-versions upgrade | grep = | awk '{print $1,$2,"upgradeable to",$4}'
#EOF
