2007-12-12 | Paul Boddie | raw annotate files changeset graph | Introduced a parameter for the Wiki root directory. |
1 #!/bin/bash 2 3 if [ ! $1 ] ; then 4 echo "Please specify a directory such as ../ep2008 or /tmp/ep2008." 5 exit 6 fi 7 8 mkdir -p $1/htdocs/ep2008 9 cp -r themes/ep2008/css $1/htdocs/ep2008 10 cp -r themes/ep2008/img $1/htdocs/ep2008 11 chown -R www-data: $1/htdocs/ep2008 12 cp themes/ep2008/ep2008.py $1/wiki/data/plugin/theme/ 13 chown www-data: $1/wiki/data/plugin/theme/ep2008.py