instmacros | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/instmacros Sat Nov 01 01:42:32 2008 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +#!/bin/bash 1.5 + 1.6 +if [ ! $1 ] ; then 1.7 + echo "Please specify a directory such as ../mysite or /tmp/mysite." 1.8 + echo "This should be the root of your Wiki installation and contain the wiki" 1.9 + echo "directory." 1.10 + exit 1.11 +fi 1.12 + 1.13 +cp macros/*.py $1/wiki/data/plugin/macro/ 1.14 +chown www-data: $1/wiki/data/plugin/macro/*.py