1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/insttheme Sun Mar 22 21:49:44 2009 +0100
1.3 @@ -0,0 +1,29 @@
1.4 +#!/bin/bash
1.5 +
1.6 +if [[ ! $2 ]] ; then
1.7 + echo "Please specify a directory such as ../mywiki or /tmp/mywiki along"
1.8 + echo "with the name of the theme into which the EventAggregator styles will be"
1.9 + echo "copied."
1.10 + echo
1.11 + echo "The specified directory should be the root of your Wiki resources"
1.12 + echo "and contain the different theme resources directories, such as classic,"
1.13 + echo "modern, hypermodern, and so on, each containing css and img directories."
1.14 + echo
1.15 + echo "The specified directory may be called htdocs, but sometimes it is called"
1.16 + echo "something like moin_static160."
1.17 + echo
1.18 + echo "In more recent versions of MoinMoin, the htdocs directory is found within"
1.19 + echo "a shared directory such as ../moin/share/moin or /tmp/moin/share/moin,"
1.20 + echo "and you should specify the htdocs directory in this location instead."
1.21 + echo "For example: ../moin/share/moin/htdocs"
1.22 + echo
1.23 + echo "You may wish to uncomment and modify the chown command in this script."
1.24 + exit
1.25 +fi
1.26 +
1.27 +cp -i css/*.css $1/$2/css/
1.28 +#chown www-data: $1/$2/css/
1.29 +echo "Don't forget to update the screen.css file:"
1.30 +echo $1/$2/css/screen.css
1.31 +echo
1.32 +echo "See the README.txt file for details."