#!/bin/bash

if [[ ! $1 ]] ; then
    echo "Please specify a directory such as ../mysite/wiki or /tmp/mysite/wiki."
    echo "This should be the root of your Wiki installation and contain the data"
    echo "directory."
    echo
    echo "You may wish to uncomment and modify the chown command in this script."
    exit
fi

cp macros/*.py $1/data/plugin/macro/
#chown www-data: $1/data/plugin/macro/*.py
