2009-03-25 | Paul Boddie | raw annotate files changeset graph | Made the daterange function only permit descending ranges through an explicitly specified step parameter. Added a simple span function which just subtracts the last date from the first, returning the year and month differences in a tuple. Added a function which defines a "concrete" time period based on window and event information. Removed the 'span' macro parameter and introduced "current" month notation to replace the restrictive "last" and "next" values for 'start' and 'end'. Improved navigation links, employing 'start' and 'end' parameters. |
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