2009-11-07 | Paul Boddie | file changeset files shortlog | Restricted the mode parameter to specific calendars where these are named. Added display parameters to the new event links so that the calendar involved retains its settings. Tidied up parameter name handling and retrieval. |
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 |