source: lab/trunk/cron.daily/apt-cron @ 4

Last change on this file since 4 was 4, checked in by mitty, 15 years ago
  • ron script for check updated packages
  • Property svn:executable set to *
File size: 205 bytes
Line 
1#!/bin/sh
2
3set -e
4
5/usr/bin/aptitude update > /dev/null 2>&1
6
7if [ `/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]'
9fi
Note: See TracBrowser for help on using the repository browser.