Gordon Messmer writes:
>How's this for a script?
>
>#!/bin/sh
>
>rpm -ivh \
>http://ftp.freshrpms.net/pub/freshrpms/enigma/apt/apt-0.3.19cnc55-fr7.i386.rpm
>
>cat > /etc/cron.daily/apt-upgrade <<EOF
>#!/bin/sh
>apt-get update >/dev/null 2>&1
>apt-get upgrade -S | grep '  from  '
>EOF
>
>chmod +x /etc/cron.daily/apt-upgrade
>/etc/cron.daily/apt-upgrade
>
>########
>
>Installs apt, and sets it up to email you every day if there are
>updates.  All you have to do is log in and run:
>apt-get upgrade
>
>If you want less involvement, just run 'apt-get upgrade' in the script.
>: )
>

Great!  Thanks!

Glen



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to