PATH="$PATH:/usr/local/bin" export PATH ## ## Sync PhotArk web site ## # Cleanup in case something went wrong from last time # This was happening frequently with all svn changes (cd "/www/incubator.apache.org/content/photark/"; svn cleanup) # Make sure we have the latest content (cd "/www/incubator.apache.org/content/photark/"; svn up --quiet) # Install the cwiki exported content rsync -p -r "/www/confluence-exports/PHOTARK/" "/www/incubator.apache.org/content/photark/" # Make sure everything is group writable chmod -Rf g+w "/www/incubator.apache.org/content/photark/" > /dev/null