FC5 Update Alerter
I'm running FC5 and I've generally always used RH variants of some sort and starting at a certain point they all had an up2date indicator on my task bar that told me it was time to update. In the past I've always seen the red exclamation point and dropped to a command line and ran my update command I made that would update the system.
Is there some sort of visual warning on fc5 that will tell you it is time to update? If there isn't then I'm probably going to create a cron job to update. Any suggestions would be appreciated. |
Its one major ommision in FC5. The only way to stay up to date is to update regularly e.g. once a week or whichever suites you.
|
You can just add this cron entry:
Code:
0 12 * * * /usr/bin/yum check-update &>/dev/null ; if [ "$?" == "100" ] ; then CONS=`/bin/ls -l /dev/console | /usr/bin/awk '{print $3}'` ; (/bin/su - $CONS -c '/usr/bin/zenity --info --text="There are new updates available"' &>/dev/null &) ; fi Once a day at noon (or whenever you set the cron job to run), it will check for new updates. If it finds any, you will get a pop-up message on your screen to let you know. To see the message, manually enter the command: Code:
zenity --info --text="There are new updates available" |
I just turn on and start the "yum" service so it automatically updates every night for me without my intervention; see http://fedora.redhat.com/docs/yum/sn...matic-updating
|
Thanks for the input! I think I'm going to turn on automatic updates but I'm going to use the zenity command to let me know it has happened. I just want to be aware of when something's happening.
|
All times are GMT -5. The time now is 09:30 AM. |