From 86b28c1136006478e6f54607ffd409c9cb0c04cc Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:09 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882839 13f79535-47bb-0310-9956-ffa450edef68 --- site/bin/sync | 30 ------------------------------ site/trunk/bin/sync | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 site/bin/sync create mode 100644 site/trunk/bin/sync (limited to 'site') diff --git a/site/bin/sync b/site/bin/sync deleted file mode 100644 index 964c62fac6..0000000000 --- a/site/bin/sync +++ /dev/null @@ -1,30 +0,0 @@ -PATH="$PATH:/usr/local/bin" -export PATH - -## -## Sync Tuscany web site -## - -# Cleanup in case something went wrong from last time -# This was happening frequently with all svn changes -(cd "/www/tuscany.apache.org/"; svn cleanup) - -# Make sure we have the latest content -(cd "/www/tuscany.apache.org/"; svn up --quiet) - -# Install the cwiki exported content -rsync -r "/www/confluence-exports/TUSCANY/" "/www/tuscany.apache.org/" - -# Make sure everything is group writable -chmod -R g+w "/www/tuscany.apache.org/" > /dev/null - - -## -## Sync Tuscany 2.x documentation -## - -# Install the cwiki exported content -rsync -r "/www/confluence-exports/TUSCANYxDOCx2x/" "/www/tuscany.apache.org/documentation-2x" - -# Make sure everything is group writable -chmod -R g+w "/www/tuscany.apache.org/documentation-2x" > /dev/null diff --git a/site/trunk/bin/sync b/site/trunk/bin/sync new file mode 100644 index 0000000000..964c62fac6 --- /dev/null +++ b/site/trunk/bin/sync @@ -0,0 +1,30 @@ +PATH="$PATH:/usr/local/bin" +export PATH + +## +## Sync Tuscany web site +## + +# Cleanup in case something went wrong from last time +# This was happening frequently with all svn changes +(cd "/www/tuscany.apache.org/"; svn cleanup) + +# Make sure we have the latest content +(cd "/www/tuscany.apache.org/"; svn up --quiet) + +# Install the cwiki exported content +rsync -r "/www/confluence-exports/TUSCANY/" "/www/tuscany.apache.org/" + +# Make sure everything is group writable +chmod -R g+w "/www/tuscany.apache.org/" > /dev/null + + +## +## Sync Tuscany 2.x documentation +## + +# Install the cwiki exported content +rsync -r "/www/confluence-exports/TUSCANYxDOCx2x/" "/www/tuscany.apache.org/documentation-2x" + +# Make sure everything is group writable +chmod -R g+w "/www/tuscany.apache.org/documentation-2x" > /dev/null -- cgit v1.2.3