Skip to content

Commit

Permalink
Fix port display
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussy committed Apr 21, 2021
1 parent 9c4a694 commit 22906ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/doDepends.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
}

Expand Down

0 comments on commit 22906ca

Please sign in to comment.