#!/bin/bash

if [[ ! $2 ]] ; then
    echo "Please specify a directory such as ../mywiki or /tmp/mywiki along"
    echo "with the name of the theme into which the CategoryMenu styles will be"
    echo "copied."
    echo "The specified directory should be the root of your Wiki installation"
    echo "and contain the wiki directory."
    exit
fi

cp css/*.css $1/htdocs/$2/css/
chown www-data: $1/htdocs/$2/css/
