EventAggregator

Annotated insttheme

50:98c85dafd261
2009-06-08 Paul Boddie Added tag rel-0-3 for changeset f1f552421d5e
paul@6 1
#!/bin/bash
paul@6 2
paul@6 3
if [[ ! $2 ]] ; then
paul@6 4
    echo "Please specify a directory such as ../mywiki or /tmp/mywiki along"
paul@6 5
    echo "with the name of the theme into which the EventAggregator styles will be"
paul@6 6
    echo "copied."
paul@6 7
    echo
paul@6 8
    echo "The specified directory should be the root of your Wiki resources"
paul@6 9
    echo "and contain the different theme resources directories, such as classic,"
paul@6 10
    echo "modern, hypermodern, and so on, each containing css and img directories."
paul@6 11
    echo
paul@6 12
    echo "The specified directory may be called htdocs, but sometimes it is called"
paul@6 13
    echo "something like moin_static160."
paul@6 14
    echo
paul@6 15
    echo "In more recent versions of MoinMoin, the htdocs directory is found within"
paul@6 16
    echo "a shared directory such as ../moin/share/moin or /tmp/moin/share/moin,"
paul@6 17
    echo "and you should specify the htdocs directory in this location instead."
paul@6 18
    echo "For example: ../moin/share/moin/htdocs"
paul@6 19
    echo
paul@6 20
    echo "You may wish to uncomment and modify the chown command in this script."
paul@6 21
    exit
paul@6 22
fi
paul@6 23
paul@6 24
cp -i css/*.css $1/$2/css/
paul@6 25
#chown www-data: $1/$2/css/
paul@6 26
echo "Don't forget to update the screen.css file:"
paul@6 27
echo $1/$2/css/screen.css
paul@6 28
echo
paul@6 29
echo "See the README.txt file for details."