diff --git a/utils/doDepends.sh b/utils/doDepends.sh index 43414cb..031aeab 100755 --- a/utils/doDepends.sh +++ b/utils/doDepends.sh @@ -220,7 +220,7 @@ keep_nginx() { ############ reconfig_apache() { - local ports_path sites_path GOODPORT GOODPORTSSL ip + local ports_path sites_path ip ports_path="/etc/apache2/ports.conf" sites_path="/etc/apache2/sites-enabled/000-default.conf" @@ -239,7 +239,7 @@ reconfig_apache() { ip=$(hostname -I | awk '{print $1}') echo -e "\nReconfigured Apache2 to serve applications on port $GOODPORT/$GOODPORTSSL. You will have to" echo -e "access your previous Apache2 websites with the port at the end of the URL:" - echo -e "http://$(hostname).local:$GOODPORT or http://$ip:$GOODPORT\n" + echo -e "http://$(hostname).local:$GOODPORT or http://$ip:$GOODPORT" sleep 5 }