8f0bf3ab3b71d8c9788af9bf1255d3955d55b443
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

1) #!/bin/sh
2) set -e # stop if we encounter an error
3) 
4) svn update
5) make
6) 
7) # Update a timestamp so we can check whether each mirror is
8) # up to date.
9) [ -d project/trace ] || mkdir -p project/trace
10) date -u > project/trace/www.torproject.org
11) 
12) # don't copy over stuff with permissions that make it useless
13) chmod a+r * -R
14) 
15) ## I'm not comfortable having arbitrary people use --delete yet,
16) ## since if they screw up it'll blow away arbitrary things.
17) #rsync -Prvz --delete . tor.eff.org:directory/
18) 
Andrew Lewman more press fixes, sync with...

Andrew Lewman authored 13 years ago

19) rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi -Prvz --delete . byblos:/var/www/www.torproject.org/htdocs/
20) ssh byblos chmod g+w -R /var/www/www.torproject.org/htdocs