#!/bin/sh
# $Id: fetchlsm,v 0.6 2000/02/26 15:46:57 mhi Exp root $
# This script downloads the LSM.current database from ftp.penguin.cz

# Change this:
URL="ftp://ftp.penguin.cz/pub/users/mhi/appindex/db/LSM.current.gz"
GET="lynx -source"
TXT="/var/lib/appindex/LSM.current.gz"
TMP="/var/lib/appindex/LSM.current.tmp"
# stop!

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

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

rm -f $TMP
