Update nginx.sh
This commit is contained in:
parent
a06cbb795b
commit
723fb915f6
|
|
@ -7,6 +7,9 @@ cd "$(dirname "$0")"
|
|||
. ./config.sh
|
||||
. ./colors.sh
|
||||
|
||||
#set the current working directory
|
||||
cwd=$(pwd)
|
||||
|
||||
#send a message
|
||||
verbose "Installing the web server"
|
||||
|
||||
|
|
@ -46,6 +49,9 @@ if [ ."$php_version" = ."7" ]; then
|
|||
cd /usr/ports/www/php70-session/ && make install clean BATCH=yes
|
||||
fi
|
||||
|
||||
#reset the current working directory
|
||||
cd $cwd
|
||||
|
||||
#update the list of executables in the path
|
||||
rehash
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue