d6eda431ce
git-svn-id: https://samskivert.googlecode.com/svn/trunk@674 6335cc39-0255-0410-8fd6-9bcaacd3b74c
22 lines
627 B
Bash
Executable File
22 lines
627 B
Bash
Executable File
#!/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
|