#!/bin/sh
# $Id: fetchlsm,v 0.5 1999/08/16 23:42:44 mhi Exp root $
# This script downloads the LSM.current from ftp.execpc.com

# Change this:
URL="ftp://ftp.execpc.com/lsm/LSM.current.gz"
GET="lynx -source"
TXT="/var/lib/appindex/LSM.current.gz"
TMP="/tmp/LSM.current.tmp"
# stop!

$GET $URL >$TMP 2>/dev/null

if [ $? = 0 ] ; then
 cp $TMP $TXT
fi

rm $TMP
