1.1 --- a/instwiki Sat Oct 25 02:13:43 2008 +0200
1.2 +++ b/instwiki Sat Nov 01 02:12:10 2008 +0100
1.3 @@ -1,5 +1,11 @@
1.4 #!/bin/bash
1.5 # Based on the documentation: /usr/share/doc/python-moinmoin/README.Debian.gz
1.6
1.7 -mv /etc/moin/farmconfig.py /etc/moin/farmconfig.py.old
1.8 -cp ep2008.py farmconfig.py /etc/moin
1.9 +if [[ ! $1 ]] ; then
1.10 + echo "Please specify the directory containing farmconfig.py, such as"
1.11 + echo "/etc/moin (used by Debian and Ubuntu)."
1.12 + exit
1.13 +fi
1.14 +
1.15 +mv $1/farmconfig.py $1/farmconfig.py.old
1.16 +cp ep2008.py farmconfig.py $1