#!/bin/sh version=`sed -n '/VERSION *= *\(.*\)/s//\1/p' fetchmail.lsm open -u anonymous,esr@thyrsus.com metalab.unc.edu cd incoming/Linux put fetchmail-${version}.tar.gz put fetchmail.lsm put README -o fetchmail.README put fetchmail-FAQ.html put fetchmail-${version}-1.i386.rpm put fetchmail-${version}-1.src.rpm close echo "Upload to Metalab complete" # Finally, upload the RPMS to Red Hat echo "Beginning Red Hat upload" open incoming.redhat.com cd libc6 put fetchmail-${version}-1.i386.rpm put fetchmail-${version}-1.src.rpm close echo "Upload to Red Hat contrib complete" EOF echo "fetchmail uploaded" fi