diff --git a/server-setup.sh b/server-setup.sh index 9851d02..a34cd5b 100644 --- a/server-setup.sh +++ b/server-setup.sh @@ -23,17 +23,17 @@ apt-get install apache2 python2.7 python-twisted git dnsmasq -y >/dev/null echo "Installing Apache, Python 2.7, Python Twisted, GitHub and DNSMasq....." clear echo "Where is your Apache config directory?" -echo "For example: /etc/apache2 +echo "For example: /etc/apache2" read -p APACHEDIR echo "The path your provided is: $APACHEDIR" echo "Now I will clone the github repo to the directory of where this script is" git clone https://github.com/BeanJr/dwc_network_server_emulator echo "Now that that's out of the way, let's do some apache stuff" -cd $APACHEDIR +cd "$APACHEDIR" echo "I've changed directory to $APACHEDIR" echo "Creating sites to sites-available for virtual hosting of the server" echo "changing directory to sites-available" -cd $APACHEDIR/sites-available/ +cd "$APACHEDIR/sites-available/" cat > gamestats2.gs.nintendowifi.net < ServerAdmin webmaster@localhost @@ -90,11 +90,11 @@ cat > sake.gs.nintendowifi.net <