2009-06-06 | Paul Boddie | raw annotate files changeset graph | Added an action which adds new events, displaying a form for the event parameters, then copies an event template and makes a new page containing substituted values for each of the specified parameters. Added day number links from the HTML produced by the macro in order to invoke the action. |
1 #!/bin/bash 2 3 if [[ ! $1 ]] ; then 4 echo "Please specify a directory such as ../mysite/wiki or /tmp/mysite/wiki." 5 echo "This should be the root of your Wiki installation and contain the data" 6 echo "directory." 7 echo 8 echo "You may wish to uncomment and modify the chown command in this script." 9 exit 10 fi 11 12 cp macros/*.py $1/data/plugin/macro/ 13 #chown www-data: $1/data/plugin/macro/*.py