2010-10-03 | Paul Boddie | file changeset files shortlog | Introduced formatting styles that can be combined and applied to formatting actions. Changed the format syntax so that formatting actions may resemble function invocations, grouping arguments together with each action. Added a line-break action. |
paul@0 | 1 | #!/bin/bash |
paul@0 | 2 | |
paul@0 | 3 | if [[ ! $1 ]] ; then |
paul@0 | 4 | echo "Please specify a directory such as ../mysite/wiki or /tmp/mysite/wiki." |
paul@0 | 5 | echo "This should be the root of your Wiki installation and contain the data" |
paul@0 | 6 | echo "directory." |
paul@0 | 7 | echo |
paul@0 | 8 | echo "You may wish to uncomment and modify the chown command in this script." |
paul@0 | 9 | exit |
paul@0 | 10 | fi |
paul@0 | 11 | |
paul@0 | 12 | cp macros/*.py $1/data/plugin/macro/ |
paul@0 | 13 | #chown www-data: $1/data/plugin/macro/*.py |