diff --git a/sysupd b/sysupd index f384723..2a1ce07 100755 --- a/sysupd +++ b/sysupd @@ -2,21 +2,21 @@ # Update Various System Files, Ports, etc. # Copyright (c) 2006-2010, TundraWare Inc, Des Plaines, IL USA # All Rights Reserved -# $Id: sysupd,v 1.124 2010/07/11 13:03:45 toor Exp $ +# $Id: sysupd,v 1.125 2010/08/30 13:09:21 toor Exp $ ##### # Where To Put The Various Log Files Generated Here ##### -DIRLOG=/var/log +LOGDIR=/var/log ##### # List Of Sets To Process By Default ##### -DEFAULTSETS='doc mirror ports stable' +DEFAULTSETS='doc mirror ports stable texlive' @@ -87,20 +87,20 @@ in ### - # Update Mirrored FreeBSD Files - ### - - mirror) - runupd $SET $DIRLOG "/root/bin/mirror-freebsd" - ;; - - - ### # CVSUP Updates ### doc | ports | stable) - runupd $SET $DIRLOG "/usr/bin/csup -h cvsup5.freebsd.org /root/cvsup/$SET-supfile" + runupd $SET $LOGDIR "/usr/bin/csup -h cvsup5.freebsd.org /root/cvsup/$SET-supfile" + ;; + + + ### + # Update Mirrored FreeBSD Files + ### + + mirror) + runupd $SET $LOGDIR "/root/bin/mirror-freebsd" ;; @@ -109,11 +109,20 @@ ### nessus) - runupd $SET $DIRLOG "/usr/local/sbin/nessus-update-plugins" + runupd $SET $LOGDIR "/usr/local/sbin/nessus-update-plugins" ;; - ##### + ### + # Update TeX Live + ### + + texlive) + runupd $SET $LOGDIR "/usr/local/texlive/2009/bin/i386-freebsd/tlmgr update --all" + ;; + + + ##### # Catch Errors #####