source: lab.git/cron.daily/apt-cron @ 920ad9e

trunk
Last change on this file since 920ad9e was f4ebcb8, checked in by mitty <mitty@…>, 15 years ago
  • ron script for check updated packages

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@4 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

  • Property mode set to 100755
File size: 205 bytes
RevLine 
[f4ebcb8]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.