Trend-autoupdate
Julian Field
MailScanner at ecs.soton.ac.uk
Fri Jan 13 20:32:46 GMT 2006
These 2 changes will be in the next release.
Chris Kissinger wrote:
> Well as Stefan stated back in 8/2004 the update made to the script would
> only work up to ver 999 and as of December 2005 Trend has rolled to a 100
> series again. Without a complete rewrite of the script here's 2 quick and
> easy changes that should make it continue to work.
>
> Change line 24:
> CURRENTVER=`ls $PackageDir/* | grep lpt | tail -1 | cut -d. -f 2`
> To:
> CURRENTVER=`ls -rt $PackageDir/* | grep lpt | tail -1 | cut -d. -f 2`
>
> And line 42:
> if [ $CURRENTVER -lt $NEWVER ]
> To:
> if [ $CURRENTVER -ne $NEWVER ]
>
> I'm pretty sure if Trend's numbers are going backwards it's going to be for
> good reason so no need to check for anything actually being a smaller
> number.
>
> Chris Kissinger
>
>
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list