aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-09-22 23:33:42 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-09-22 23:33:42 +0000
commitea4f5e9a11843907b28c929524a38b280dca6657 (patch)
treebc69f73bab9141ef9050b27397d249f60ee097db
parent5f7dcc42adb8f88be502cb6215773ba3d72176a6 (diff)
downloadfetchmail-ea4f5e9a11843907b28c929524a38b280dca6657.tar.gz
fetchmail-ea4f5e9a11843907b28c929524a38b280dca6657.tar.bz2
fetchmail-ea4f5e9a11843907b28c929524a38b280dca6657.zip
rpm2lsm in the reight place.
svn path=/trunk/; revision=3733
-rwxr-xr-xupload59
1 files changed, 29 insertions, 30 deletions
diff --git a/upload b/upload
index 372a27c1..46d487a7 100755
--- a/upload
+++ b/upload
@@ -37,39 +37,38 @@ scp history.html $dest
echo "Upload to ${WWWVIRTUAL} complete"
echo "Beginning FTP upload..."
-lftp <<EOF
-# Copy to FTP site
-open $FTPHOST
-cd $FTPDIR/fetchmail
-put fetchmail-${version}.tar.gz
-put fetchmail-${version}-1.i386.rpm
-put fetchmail-${version}-1.src.rpm
-close
-echo "FTP upload complete."
-
-# Next, upload to Metalab
-echo "Beginning Metalab upload..."
rpm2lsm -k ${keywords} *.rpm >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"
+lftp <<EOF
+ # Copy to FTP site
+ open $FTPHOST
+ cd $FTPDIR/fetchmail
+ put fetchmail-${version}.tar.gz
+ put fetchmail-${version}-1.i386.rpm
+ put fetchmail-${version}-1.src.rpm
+ close
+ echo "FTP upload 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"
+ # Next, upload to Metalab
+ echo "Beginning Metalab upload..."
+ 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