Added a script for copying everything to waywardgeeks.org.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@674 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-03-17 23:52:24 +00:00
parent 8ea1d6d93b
commit d6eda431ce
+21
View File
@@ -0,0 +1,21 @@
#!/bin/sh
#
# $Id: install.sh,v 1.1 2002/03/17 23:52:24 mdb Exp $
#
# Copies the Debian files to the appropriate place on my web server for
# distribution.
DEBDIR=/export/wayward/pages/code/debian
if [ -f ../lookuplet_*.deb ]; then
# remove any old files
ssh waywardgeeks.org "rm $DEBDIR/pool/main/l/lookuplet/lookuplet_*"
# copy over the new files
scp ../lookuplet_* waywardgeeks.org:$DEBDIR/pool/main/l/lookuplet/
# update the packages file
ssh waywardgeeks.org "/export/wayward/bin/update_packages.pl"
# blow away our local copy
rm -f ../lookuplet_*
else
echo "No files to install."
fi