fix #7 apt-get update before prerequisite check
This commit is contained in:
parent
6f9c64416b
commit
24302c39d4
@ -19,8 +19,9 @@ DOMAIN_NAME=${DOMAIN_NAME:-localhost}
|
|||||||
PORT=${PORT:-9872}
|
PORT=${PORT:-9872}
|
||||||
|
|
||||||
### PREREQUISITES ###
|
### PREREQUISITES ###
|
||||||
|
sudo apt-get update
|
||||||
|
|
||||||
if ! command -v nginx >/dev/null 2>&1
|
if ! command -v nginx >/dev/null 2>&1 && [ "$1" != "dev" ]
|
||||||
then
|
then
|
||||||
sudo apt-get install nginx -y
|
sudo apt-get install nginx -y
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user