File: apt-update

package info (click to toggle)
upgrade-system 1.2.0.3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 104 kB
  • ctags: 1
  • sloc: sh: 163; python: 11; makefile: 3
file content (19 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# /etc/cron.daily/apt-update
#
## COPYRIGHT
#  (C) 2004-2010, Martin-Éric Racine <q-funk@iki.fi>
#
## LICENSE
#  This package is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 2 of the License, or
#  (at your option) any later version.
#
apt-get -q=2 update
if [ -f /usr/bin/apt-show-versions ]
then
	apt-show-versions -u
fi
#EOF