2008-01-20 | Paul Boddie | file changeset files shortlog | Introduce separate rules for the different slide collections, preventing image oversizing for images having portrait orientation. |
paul@0 | 1 | #!/bin/bash |
paul@0 | 2 | |
paul@16 | 3 | if [ ! $1 ] ; then |
paul@16 | 4 | echo "Please specify a directory such as ../ep2008 or /tmp/ep2008." |
paul@16 | 5 | exit |
paul@16 | 6 | fi |
paul@16 | 7 | |
paul@16 | 8 | mkdir -p $1/htdocs/ep2008 |
paul@16 | 9 | cp -r themes/ep2008/css $1/htdocs/ep2008 |
paul@16 | 10 | cp -r themes/ep2008/img $1/htdocs/ep2008 |
paul@16 | 11 | chown -R www-data: $1/htdocs/ep2008 |
paul@16 | 12 | cp themes/ep2008/ep2008.py $1/wiki/data/plugin/theme/ |
paul@16 | 13 | chown www-data: $1/wiki/data/plugin/theme/ep2008.py |