1.1 --- a/insttheme Sun Jan 31 02:29:49 2010 +0100
1.2 +++ b/insttheme Sun Jan 31 02:45:07 2010 +0100
1.3 @@ -2,17 +2,18 @@
1.4
1.5 if [[ ! $1 ]] ; then
1.6 echo "Please specify a Wiki directory such as ../mywiki or /tmp/mywiki."
1.7 + echo "This should contain a data directory."
1.8 exit
1.9 fi
1.10
1.11 if [[ ! $2 ]] ; then
1.12 echo "Please also specify the directory containing the theme resources,"
1.13 - echo "such as ../moin/share/moin/."
1.14 + echo "such as ../moin/share/moin/htdocs."
1.15 exit
1.16 fi
1.17
1.18 -mkdir -p $2/htdocs/minimalmoin
1.19 -cp -ir themes/minimalmoin/css $2/htdocs/minimalmoin
1.20 -cp -r themes/minimalmoin/img $2/htdocs/minimalmoin
1.21 -cp themes/minimalmoin/minimalmoin.py $1/wiki/data/plugin/theme/
1.22 -chown www-data: $1/wiki/data/plugin/theme/minimalmoin.py
1.23 +mkdir -p $2/minimalmoin
1.24 +cp -ir themes/minimalmoin/css $2/minimalmoin
1.25 +cp -r themes/minimalmoin/img $2/minimalmoin
1.26 +cp themes/minimalmoin/minimalmoin.py $1/data/plugin/theme/
1.27 +chown www-data: $1/data/plugin/theme/minimalmoin.py