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