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