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