source:
lab.git/TipAndDoc/cron.daily/apt-cron
@
29f68714
Last change on this file since 29f68714 was 8333ea0, checked in by mitty <mitty@…>, 14 years ago | |
---|---|
|
|
File size: 205 bytes |
Rev | Line | |
---|---|---|
[f4ebcb8] | 1 | #!/bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | /usr/bin/aptitude update > /dev/null 2>&1 | |
6 | ||
7 | if [ `/usr/bin/aptitude -s -y safe-upgrade | /bin/grep -c ^0` -eq 0 ]; then | |
8 | /usr/bin/aptitude -s -y safe-upgrade | /bin/grep '^[ T0-9]' | |
9 | fi |
Note: See TracBrowser
for help on using the repository browser.