2008-11-01 | Paul Boddie | file changeset files shortlog | Fixed script syntax. |
paul@6 | 1 | #!/bin/bash |
paul@6 | 2 | |
paul@9 | 3 | if [[ ! $1 ]] ; then |
paul@6 | 4 | echo "Please specify a directory such as ../mysite or /tmp/mysite." |
paul@6 | 5 | echo "This should be the root of your Wiki installation and contain the wiki" |
paul@6 | 6 | echo "directory." |
paul@6 | 7 | exit |
paul@6 | 8 | fi |
paul@6 | 9 | |
paul@6 | 10 | cp macros/*.py $1/wiki/data/plugin/macro/ |
paul@6 | 11 | chown www-data: $1/wiki/data/plugin/macro/*.py |