2008-11-01 | Paul Boddie | raw annotate files changeset graph | Fixed script syntax. Enforced the need for arguments in the instsite and instwiki scripts. | moin-1.6 |
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