#!/bin/sh
#           cpw - copy the latest files to the telcoserv web page
#                 telcoserv:/home/httpd/html/ras/panicsel 
ver=1.3.8
#dfrom=/mnt/pub/panich/src
#dto=/mnt/pub/panich
dfrom=/mnt/t2/cress/panicsel/src
dto=/mnt/t2/cress/panicsel
hto=/mnt/web/html/ras/panicsel
pkgdir=/usr/src/redhat

echo "Copying rpms to $dto ..."
# copy the rpm files to the common /home/public directory
cp -f $pkgdir/SRPMS/panicsel-${ver}*.rpm             $dto
cp -f $pkgdir/RPMS/i386/panicsel-${ver}*.rpm         $dto
cp -f $pkgdir/SOURCES/panicsel-${ver}*.tar.gz     $dto/old
#cp -f $pkgdir/RPMS/x86_pentium3/panicsel-${ver}*.rpm $dto
if [ -d $hto ]
then
  echo "Copying files to $hto ..."
  # copy the right files to the web directory
  cp -f $dfrom/doc/UserGuide               $hto
fi
