File: upgrade-system.cron.daily

package info (click to toggle)
upgrade-system 1.7.3.1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 100 kB
  • sloc: sh: 214; python: 22; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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