EventAggregator

Annotated instmacros

29:69086565e2da
2009-04-03 Paul Boddie Moved event timestamp discovery into a new setEventTimestamps function which adds datetime and sequence information to the event details. Added Last-Modified header support, although Apache seems to want to override this. Added RSS 2.0 support. Made a minor edit to the action description.
paul@6 1
#!/bin/bash
paul@6 2
paul@6 3
if [[ ! $1 ]] ; then
paul@6 4
    echo "Please specify a directory such as ../mysite/wiki or /tmp/mysite/wiki."
paul@6 5
    echo "This should be the root of your Wiki installation and contain the data"
paul@6 6
    echo "directory."
paul@6 7
    echo
paul@6 8
    echo "You may wish to uncomment and modify the chown command in this script."
paul@6 9
    exit
paul@6 10
fi
paul@6 11
paul@6 12
cp macros/*.py $1/data/plugin/macro/
paul@6 13
#chown www-data: $1/data/plugin/macro/*.py