ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/websitecvsup.sh
Revision: 1.2
Committed: Sun Aug 1 10:39:52 2004 UTC (20 years, 1 month ago) by tdb
Content type: application/x-sh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

File Contents

# User Rev Content
1 tdb 1.1 #!/bin/sh
2    
3     #
4     # i-scream website updater (using cvsup)
5     # this should usually be run from a regular crontab
6     #
7     # written by tdb1 30/06/2001
8     #
9    
10     CVSUP="/usr/bin/cvsup"
11     CVSUPSWITCHES="-Z -L 0 -g -1"
12     CVSUPSUPFILE="/home/sites/www.i-scream.org.uk/cvsup/supfile"
13    
14     CVSUPCMD="${CVSUP} ${CVSUPSWITCHES} ${CVSUPSUPFILE}"
15    
16     STOPFILE="/home/sites/www.i-scream.org.uk/web/STOP.UPDATES"
17    
18     if test -r "${STOPFILE}"; then \
19     echo "update blocked by ${STOPFILE}"; \
20     else \
21     ${CVSUPCMD}; \
22     fi
23