1.1 --- a/instsite Sat Oct 25 02:13:43 2008 +0200
1.2 +++ b/instsite 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 -cp site-ep2008 /etc/apache2/sites-available/ep2008
1.8 +if [[ ! $1 ]] ; then
1.9 + echo "Please specify a directory containing Apache site definitions such as"
1.10 + echo "/etc/apache2/sites-available (used by Debian and Ubuntu)."
1.11 + exit
1.12 +fi
1.13 +
1.14 +cp site-ep2008 $1/ep2008
1.15 a2ensite ep2008