paul@6 | 1 | #!/bin/bash |
paul@6 | 2 | |
paul@6 | 3 | if [ ! $2 ] ; then |
paul@6 | 4 | echo "Please specify a directory such as ../mywiki or /tmp/mywiki along" |
paul@6 | 5 | echo "with the name of the theme into which the CategoryMenu styles will be" |
paul@6 | 6 | echo "copied." |
paul@6 | 7 | echo "The specified directory should be the root of your Wiki installation" |
paul@6 | 8 | echo "and contain the wiki directory." |
paul@6 | 9 | exit |
paul@6 | 10 | fi |
paul@6 | 11 | |
paul@6 | 12 | cp css/*.css $1/htdocs/$2/css/ |
paul@6 | 13 | chown www-data: $1/htdocs/$2/css/ |